Fix missing scenario editor menus on Windows

This also seems to fix an issue with menu accelerator keys on Windows.
This commit is contained in:
2015-10-22 18:29:29 -04:00
parent aecbea01a4
commit fa928a122f
2 changed files with 2 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ void accel_table_t::add(WORD cmd, std::string key) {
void accel_table_t::build() {
if(handle == NULL)
handle = CreateAcceleratorTable(table.data(), table.size());
handle = CreateAcceleratorTableA(table.data(), table.size());
}
void accel_table_t::destroy() {