]> git.saurik.com Git - wxWidgets.git/commitdiff
wxAppTraits::SetLocale() is wxUSE_INTL=1 only
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 2 May 2007 20:32:44 +0000 (20:32 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 2 May 2007 20:32:44 +0000 (20:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/unix/apptrait.h

index 9d83f9b8efd0c0439f4aab4b0805e8404b732e28..5ef349070dc127ec9889eb7a3535d9a73d8f6e2e 100644 (file)
@@ -47,11 +47,14 @@ public:
     virtual wxPortId GetToolkitVersion(int *majVer, int *minVer) const;
 
 #ifdef __WXGTK__
+
+#if wxUSE_INTL
     virtual void SetLocale();
+#endif
     virtual wxString GetDesktopEnvironment() const;
     virtual wxString GetStandardCmdLineOptions(wxArrayString& names,
                                                wxArrayString& desc) const;
-#endif
+#endif // __WXGTK__
 
 #if defined(__WXDEBUG__) && defined(__WXGTK20__)
     virtual bool ShowAssertDialog(const wxString& msg);