From 616dfc166cfe5a4e0de00b2a43d70cdbd46c2dc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 19 Jan 2003 23:32:04 +0000 Subject: [PATCH] compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/intl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/intl.cpp b/src/common/intl.cpp index e78f74483a..afc05fc008 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -764,11 +764,14 @@ bool wxLocale::Init(int language, int flags) wxMB2WXbuf retloc = wxSetlocale(LC_ALL , wxEmptyString); #else return FALSE; + #define WX_NO_LOCALE_SUPPORT #endif +#ifndef WX_NO_LOCALE_SUPPORT return Init(name, canonical, retloc, (flags & wxLOCALE_LOAD_DEFAULT) != 0, (flags & wxLOCALE_CONV_ENCODING) != 0); +#endif }