]> git.saurik.com Git - wxWidgets.git/commitdiff
Dynamically retrieve used codepage.
authorStefan Neis <Stefan.Neis@t-online.de>
Sun, 25 Aug 2002 17:53:55 +0000 (17:53 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sun, 25 Aug 2002 17:53:55 +0000 (17:53 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/accel.cpp

index 039439d25d2112788476d654e7cd2fb489be7bc3..662e2c63f073f34ff7c6f3c747ac95d308c68e7e 100644 (file)
@@ -148,7 +148,7 @@ wxAcceleratorTable::wxAcceleratorTable(
         pArr->aaccel[i].key = uKey;
         pArr->aaccel[i].cmd = uCmd;
     }
-    pArr->codepage = 437;
+    pArr->codepage = ::WinQueryCp(wxTheApp->m_hMq);
     pArr->cAccel = (USHORT)n;
     M_ACCELDATA->m_hAccel = ::WinCreateAccelTable( vHabmain
                                                   ,pArr