diff options
author | Kandrashin Denis <mail@lintest.ru> | 2013-02-01 22:25:35 +0400 |
---|---|---|
committer | Kandrashin Denis <mail@lintest.ru> | 2013-02-01 22:25:35 +0400 |
commit | ba19e6fd6a05246fd7aaa0de92e96ee5d15f2ec9 (patch) | |
tree | 96990fd48064ce143b1b574390e635a5ffd5036a | |
parent | f1430cbaeb9a2071d83fe12853b9ee733063e61e (diff) |
Fix MacOS build
-rw-r--r-- | sources/MyRuLib/FbLocale.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/MyRuLib/FbLocale.cpp b/sources/MyRuLib/FbLocale.cpp index e9c6a0a5..cb32ecc9 100644 --- a/sources/MyRuLib/FbLocale.cpp +++ b/sources/MyRuLib/FbLocale.cpp @@ -56,7 +56,10 @@ bool FbLocale::Init(int language, int flags) bool FbLocale::Init(int language, int flags)
{
const wxLanguageInfo * info = FbLocale::GetLanguageInfo(language);
+
+ #ifdef wxHAVE_TCHAR_SUPPORT
if (info) wxSetlocale(LC_COLLATE, info->CanonicalName);
+ #endif
wxFileName filename = FbConfigDatabase::GetConfigName();
|