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:
Václav Slavík 2007-03-20 13:32:05 +00:00
parent 7ecb75b78e
commit 6c4f5ea559
3 changed files with 6 additions and 0 deletions

View File

@ -509,10 +509,12 @@ GSocketGUIFunctionsTable* wxConsoleAppTraitsBase::GetSocketGUIFunctionsTable()
// wxAppTraits
// ----------------------------------------------------------------------------
#if wxUSE_INTL
void wxAppTraitsBase::SetLocale()
{
setlocale(LC_ALL, "");
}
#endif
#ifdef __WXDEBUG__

View File

@ -329,10 +329,12 @@ static wxString GetSM()
// wxGUIAppTraits
//-----------------------------------------------------------------------------
#if wxUSE_INTL
void wxGUIAppTraits::SetLocale()
{
gtk_set_locale();
}
#endif
#ifdef __WXDEBUG__

View File

@ -202,8 +202,10 @@ wxString wxGUIAppTraits::GetDesktopEnvironment() const
return wxEmptyString;
}
#if wxUSE_INTL
void wxGUIAppTraits::SetLocale()
{
gtk_set_locale();
}
#endif