X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e3527f7bc58048611c213a801b20c3d03664c225..7f19ef40eb05ef30e63ce12d40071d35b1d5aaaf:/src/gtk/settings.cpp diff --git a/src/gtk/settings.cpp b/src/gtk/settings.cpp index 89cb46dbad..7de06c56e3 100644 --- a/src/gtk/settings.cpp +++ b/src/gtk/settings.cpp @@ -228,7 +228,7 @@ wxColour wxSystemSettingsNative::GetColour( wxSystemColour index ) case wxSYS_COLOUR_MAX: default: - wxFAIL_MSG( _T("unknown system colour index") ); + wxFAIL_MSG( wxT("unknown system colour index") ); color = *wxWHITE; break; } @@ -257,13 +257,13 @@ wxFont wxSystemSettingsNative::GetFont( wxSystemFont index ) wxNativeFontInfo info; info.description = ButtonStyle()->font_desc; gs_fontSystem = wxFont(info); - + // (try to) heal the default font (on some common systems e.g. Ubuntu // it's "Sans Serif" but the real font is called "Sans"): if (!wxFontEnumerator::IsValidFacename(gs_fontSystem.GetFaceName()) && gs_fontSystem.GetFaceName() == "Sans Serif") gs_fontSystem.SetFaceName("Sans"); - + info.description = NULL; } font = gs_fontSystem;