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:
parent
7ecb75b78e
commit
6c4f5ea559
@ -509,10 +509,12 @@ GSocketGUIFunctionsTable* wxConsoleAppTraitsBase::GetSocketGUIFunctionsTable()
|
||||
// wxAppTraits
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#if wxUSE_INTL
|
||||
void wxAppTraitsBase::SetLocale()
|
||||
{
|
||||
setlocale(LC_ALL, "");
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __WXDEBUG__
|
||||
|
||||
|
@ -329,10 +329,12 @@ static wxString GetSM()
|
||||
// wxGUIAppTraits
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#if wxUSE_INTL
|
||||
void wxGUIAppTraits::SetLocale()
|
||||
{
|
||||
gtk_set_locale();
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef __WXDEBUG__
|
||||
|
||||
|
@ -202,8 +202,10 @@ wxString wxGUIAppTraits::GetDesktopEnvironment() const
|
||||
return wxEmptyString;
|
||||
}
|
||||
|
||||
#if wxUSE_INTL
|
||||
void wxGUIAppTraits::SetLocale()
|
||||
{
|
||||
gtk_set_locale();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user