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);