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:
Diffstat (limited to 'sources/MyRuLib/FbLocale.cpp')
-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();