]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/utilsgtk.cpp
don't crash if (char*)c_str() is used twice in a row on the same string and both...
[wxWidgets.git] / src / gtk / utilsgtk.cpp
index c50a21629c6e7fe0f8c7b90e4da07358c7f87daa..d3df80a8786410e3558b932b7577fb0a840c9e7f 100644 (file)
@@ -329,10 +329,12 @@ static wxString GetSM()
 // wxGUIAppTraits
 //-----------------------------------------------------------------------------
 
+#if wxUSE_INTL
 void wxGUIAppTraits::SetLocale()
 {
     gtk_set_locale();
 }
+#endif
 
 #ifdef __WXDEBUG__