]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fixes for !wxUSE_INTL case
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 20 Mar 2007 13:32:05 +0000 (13:32 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 20 Mar 2007 13:32:05 +0000 (13:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/appbase.cpp
src/gtk/utilsgtk.cpp
src/gtk1/utilsgtk.cpp

index 32db9d127e60be542083d5f56547bc10f207d987..53d05a50fd3ff6204aed93c85ba926564458928e 100644 (file)
@@ -509,10 +509,12 @@ GSocketGUIFunctionsTable* wxConsoleAppTraitsBase::GetSocketGUIFunctionsTable()
 // wxAppTraits
 // ----------------------------------------------------------------------------
 
+#if wxUSE_INTL
 void wxAppTraitsBase::SetLocale()
 {
     setlocale(LC_ALL, "");
 }
+#endif
 
 #ifdef __WXDEBUG__
 
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__
 
index cefd4edddaf3c9301294834599a49f5a973f0d7b..29fb44c8c6f4c9ad4fd3589669b75b8aeb1ae1da 100644 (file)
@@ -202,8 +202,10 @@ wxString wxGUIAppTraits::GetDesktopEnvironment() const
     return wxEmptyString;
 }
 
+#if wxUSE_INTL
 void wxGUIAppTraits::SetLocale()
 {
     gtk_set_locale();
 }
+#endif