From: Václav Slavík Date: Wed, 2 May 2007 20:32:44 +0000 (+0000) Subject: wxAppTraits::SetLocale() is wxUSE_INTL=1 only X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c8b1fdc0b52fbc0ce71ab54b4b8954643f788f2a wxAppTraits::SetLocale() is wxUSE_INTL=1 only git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/unix/apptrait.h b/include/wx/unix/apptrait.h index 9d83f9b8ef..5ef349070d 100644 --- a/include/wx/unix/apptrait.h +++ b/include/wx/unix/apptrait.h @@ -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);