compilation fixes for !wxUSE_INTL case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -509,10 +509,12 @@ GSocketGUIFunctionsTable* wxConsoleAppTraitsBase::GetSocketGUIFunctionsTable()
|
|||||||
// wxAppTraits
|
// wxAppTraits
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#if wxUSE_INTL
|
||||||
void wxAppTraitsBase::SetLocale()
|
void wxAppTraitsBase::SetLocale()
|
||||||
{
|
{
|
||||||
setlocale(LC_ALL, "");
|
setlocale(LC_ALL, "");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __WXDEBUG__
|
#ifdef __WXDEBUG__
|
||||||
|
|
||||||
|
@@ -329,10 +329,12 @@ static wxString GetSM()
|
|||||||
// wxGUIAppTraits
|
// wxGUIAppTraits
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#if wxUSE_INTL
|
||||||
void wxGUIAppTraits::SetLocale()
|
void wxGUIAppTraits::SetLocale()
|
||||||
{
|
{
|
||||||
gtk_set_locale();
|
gtk_set_locale();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __WXDEBUG__
|
#ifdef __WXDEBUG__
|
||||||
|
|
||||||
|
@@ -202,8 +202,10 @@ wxString wxGUIAppTraits::GetDesktopEnvironment() const
|
|||||||
return wxEmptyString;
|
return wxEmptyString;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if wxUSE_INTL
|
||||||
void wxGUIAppTraits::SetLocale()
|
void wxGUIAppTraits::SetLocale()
|
||||||
{
|
{
|
||||||
gtk_set_locale();
|
gtk_set_locale();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user