]> 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 698225a0beb75acad1a38317df6c00a6ce5dc1a3..d3df80a8786410e3558b932b7577fb0a840c9e7f 100644 (file)
@@ -329,6 +329,13 @@ static wxString GetSM()
 // wxGUIAppTraits
 //-----------------------------------------------------------------------------
 
 // wxGUIAppTraits
 //-----------------------------------------------------------------------------
 
+#if wxUSE_INTL
+void wxGUIAppTraits::SetLocale()
+{
+    gtk_set_locale();
+}
+#endif
+
 #ifdef __WXDEBUG__
 
 #if wxUSE_STACKWALKER
 #ifdef __WXDEBUG__
 
 #if wxUSE_STACKWALKER