]> git.saurik.com Git - wxWidgets.git/commitdiff
added code to set wxFont's default encoding to wxLocale::GetSystemEncoding()
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 3 Jun 2001 09:43:52 +0000 (09:43 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 3 Jun 2001 09:43:52 +0000 (09:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/app.cpp
src/gtk1/app.cpp

index 07fadb9ea6c2abba67c103b86e479372eed1a079..1bf0720c280cc33fa3b366418c313e6a08bd73da 100644 (file)
@@ -549,6 +549,8 @@ bool wxApp::Initialize()
     wxClassInfo::InitializeClasses();
 
     wxSystemSettings::Init();
     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.
 
     // 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.
index 07fadb9ea6c2abba67c103b86e479372eed1a079..1bf0720c280cc33fa3b366418c313e6a08bd73da 100644 (file)
@@ -549,6 +549,8 @@ bool wxApp::Initialize()
     wxClassInfo::InitializeClasses();
 
     wxSystemSettings::Init();
     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.
 
     // 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.