added wxConvUI which determines the conversion used for the UI elements and can be changed from the user code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -193,7 +193,7 @@ wxCharBuffer wxConvertToGTK(const wxString& s, wxFontEncoding enc)
|
||||
wxWCharBuffer wbuf;
|
||||
if ( enc == wxFONTENCODING_SYSTEM || enc == wxFONTENCODING_DEFAULT )
|
||||
{
|
||||
wbuf = wxConvLocal.cMB2WC(s);
|
||||
wbuf = wxConvUI->cMB2WC(s);
|
||||
}
|
||||
else // another encoding, use generic conversion class
|
||||
{
|
||||
|
Reference in New Issue
Block a user