Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lintest/myrulib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKandrashin Denis <mail@lintest.ru>2013-02-01 22:25:35 +0400
committerKandrashin Denis <mail@lintest.ru>2013-02-01 22:25:35 +0400
commitba19e6fd6a05246fd7aaa0de92e96ee5d15f2ec9 (patch)
tree96990fd48064ce143b1b574390e635a5ffd5036a
parentf1430cbaeb9a2071d83fe12853b9ee733063e61e (diff)
Fix MacOS build
-rw-r--r--sources/MyRuLib/FbLocale.cpp3
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();