From: Paul Cornett Date: Tue, 12 Feb 2008 04:03:49 +0000 (+0000) Subject: build fix for non-MSW X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/071ccf2a7cf494fb404e41808dc31bf5df46701a build fix for non-MSW git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/intl.cpp b/src/common/intl.cpp index d1bff69bf7..dfc8eb3ad3 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -1016,6 +1016,8 @@ static wxArrayString gs_searchPrefixes; // wxLanguageInfo // ---------------------------------------------------------------------------- +#ifdef __WXMSW__ + // helper used by wxLanguageInfo::GetLocaleName() and elsewhere to determine // whether the locale is Unicode-only (it is if this function returns empty // string) @@ -1035,8 +1037,6 @@ static wxString wxGetANSICodePageForLocale(LCID lcid) return cp; } -#ifdef __WXMSW__ - wxUint32 wxLanguageInfo::GetLCID() const { return MAKELCID(MAKELANGID(WinLang, WinSublang), SORT_DEFAULT);