X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a92b8709d9212d129d69c57065cebd4ee118fbac..65fa237423b734a06492b25b31fc0881c8c5229b:/src/gtk/app.cpp

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.