From: Václav Slavík Date: Sun, 3 Jun 2001 16:19:36 +0000 (+0000) Subject: added wxUSE_INTL around wxLocale::GetSystemEncoding X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5c3e299e08be35d0f88e6e86c8cee97f07ced3ca added wxUSE_INTL around wxLocale::GetSystemEncoding git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index 1bf0720c28..7d15b6e1b3 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -550,7 +550,9 @@ bool wxApp::Initialize() wxSystemSettings::Init(); +#if wxUSE_INTL wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding()); +#endif // GL: I'm annoyed ... I don't know where to put this and I don't want to // create a module for that as it's part of the core. diff --git a/src/gtk1/app.cpp b/src/gtk1/app.cpp index 1bf0720c28..7d15b6e1b3 100644 --- a/src/gtk1/app.cpp +++ b/src/gtk1/app.cpp @@ -550,7 +550,9 @@ bool wxApp::Initialize() wxSystemSettings::Init(); +#if wxUSE_INTL wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding()); +#endif // GL: I'm annoyed ... I don't know where to put this and I don't want to // create a module for that as it's part of the core.