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:
parent
2b0ad4415c
commit
2ebb116d15
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user