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:
Vadim Zeitlin
2006-04-11 00:36:24 +00:00
parent ef95ce4170
commit d5bef0a323
4 changed files with 13 additions and 2 deletions

View File

@@ -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
{