]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/app.cpp
Force size to integer coordinates in all cases.
[wxWidgets.git] / src / gtk / app.cpp
index c9f166377f5dc95300caf10205f7233323d08b04..8932e2198d6f5b3b3e6e9f58a4ce1964be17fa56 100644 (file)
@@ -612,6 +612,8 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
     // (1) this variable exists for the sole purpose of specifying the encoding
     //     of the filenames for GTK+ programs, so use it if it is set
     wxString encName(wxGetenv(_T("G_FILENAME_ENCODING")));
+    if (encName == _T("@locale"))
+        encName.clear();
     encName.MakeUpper();
 #if wxUSE_INTL        
     if (encName.empty())