Dynamically retrieve used codepage.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis 2002-08-25 17:53:55 +00:00
parent 2b0ad4415c
commit 2ebb116d15

View 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