From 5c3e299e08be35d0f88e6e86c8cee97f07ced3ca Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 3 Jun 2001 16:19:36 +0000 Subject: [PATCH] added wxUSE_INTL around wxLocale::GetSystemEncoding git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/app.cpp | 2 ++ src/gtk1/app.cpp | 2 ++ 2 files changed, 4 insertions(+) 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. -- 2.45.2