From a92b8709d9212d129d69c57065cebd4ee118fbac Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 3 Jun 2001 09:43:52 +0000 Subject: [PATCH] added code to set wxFont's default encoding to wxLocale::GetSystemEncoding() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10416 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 07fadb9ea6..1bf0720c28 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -549,6 +549,8 @@ bool wxApp::Initialize() wxClassInfo::InitializeClasses(); wxSystemSettings::Init(); + + wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding()); // 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 07fadb9ea6..1bf0720c28 100644 --- a/src/gtk1/app.cpp +++ b/src/gtk1/app.cpp @@ -549,6 +549,8 @@ bool wxApp::Initialize() wxClassInfo::InitializeClasses(); wxSystemSettings::Init(); + + wxFont::SetDefaultEncoding(wxLocale::GetSystemEncoding()); // 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