]> git.saurik.com Git - wxWidgets.git/commitdiff
build fix for non-MSW
authorPaul Cornett <paulcor@bullseye.com>
Tue, 12 Feb 2008 04:03:49 +0000 (04:03 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Tue, 12 Feb 2008 04:03:49 +0000 (04:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/intl.cpp

index d1bff69bf727415e374e16121de46762528aad5b..dfc8eb3ad35ce8302ff50b93ae3793b6bfe9c78b 100644 (file)
@@ -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);