]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/accel.cpp
reSWIGed
[wxWidgets.git] / src / os2 / accel.cpp
index 09aa343e0a222e3c158736122bf2e3ab6a0401fe..662e2c63f073f34ff7c6f3c747ac95d308c68e7e 100644 (file)
@@ -148,7 +148,7 @@ wxAcceleratorTable::wxAcceleratorTable(
         pArr->aaccel[i].key = uKey;
         pArr->aaccel[i].cmd = uCmd;
     }
-    pArr->codepage = 437; // default to english Fix???
+    pArr->codepage = ::WinQueryCp(wxTheApp->m_hMq);
     pArr->cAccel = (USHORT)n;
     M_ACCELDATA->m_hAccel = ::WinCreateAccelTable( vHabmain
                                                   ,pArr