]> git.saurik.com Git - wxWidgets.git/commitdiff
added wxUSE_INTL around wxLocale::GetSystemEncoding
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 3 Jun 2001 16:19:36 +0000 (16:19 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 3 Jun 2001 16:19:36 +0000 (16:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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

index 1bf0720c280cc33fa3b366418c313e6a08bd73da..7d15b6e1b37250b70abbfda5d6c9b339f5abefbd 100644 (file)
@@ -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.
index 1bf0720c280cc33fa3b366418c313e6a08bd73da..7d15b6e1b37250b70abbfda5d6c9b339f5abefbd 100644 (file)
@@ -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.