X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8d1bf3c7ff1a394107825b74e14a528454bd8a9c..42b1fb630d94b919d455c1f0f2212bc6bcc04d46:/src/motif/app.cpp?ds=sidebyside diff --git a/src/motif/app.cpp b/src/motif/app.cpp index fa41cfebee..a28cc95f91 100644 --- a/src/motif/app.cpp +++ b/src/motif/app.cpp @@ -97,6 +97,10 @@ bool wxApp::Initialize(int& argc, wxChar **argv) wxWidgetHashTable = new wxHashTable(wxKEY_INTEGER); +#if wxUSE_INTL + wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding()); +#endif + return true; } @@ -189,6 +193,7 @@ bool wxApp::OnInitGui() if( !wxAppBase::OnInitGui() ) return false; + XtSetLanguageProc(NULL, NULL, NULL); XtToolkitInitialize() ; wxTheApp->m_appContext = (WXAppContext) XtCreateApplicationContext(); XtAppSetFallbackResources((XtAppContext) wxTheApp->m_appContext, fallbackResources);