From c8b1fdc0b52fbc0ce71ab54b4b8954643f788f2a Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 2 May 2007 20:32:44 +0000 Subject: [PATCH] wxAppTraits::SetLocale() is wxUSE_INTL=1 only git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/unix/apptrait.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- 2.45.2