X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9f2968ad0ba775e6785c3eb4a3fea5ad19352e26..ad967c5b98a58b6d29853d0a1b808c057bc6aece:/src/gtk1/settings.cpp?ds=sidebyside diff --git a/src/gtk1/settings.cpp b/src/gtk1/settings.cpp index 34887192ba..36ba1f63d6 100644 --- a/src/gtk1/settings.cpp +++ b/src/gtk1/settings.cpp @@ -14,7 +14,6 @@ #include "wx/settings.h" #ifndef WX_PRECOMP - #include "wx/cmndata.h" #include "wx/toplevel.h" #endif @@ -82,7 +81,7 @@ static bool GetColourFromGTKWidget(int& red, int& green, int& blue, switch ( type ) { default: - wxFAIL_MSG( _T("unexpected GTK widget type") ); + wxFAIL_MSG( wxT("unexpected GTK widget type") ); // fall through case wxGTK_BUTTON: @@ -108,7 +107,7 @@ static bool GetColourFromGTKWidget(int& red, int& green, int& blue, switch ( colour ) { default: - wxFAIL_MSG( _T("unexpected GTK colour type") ); + wxFAIL_MSG( wxT("unexpected GTK colour type") ); // fall through case wxGTK_FG: @@ -282,6 +281,7 @@ wxColour wxSystemSettingsNative::GetColour( wxSystemColour index ) } return gs_objects.m_colTooltipText; + case wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT: case wxSYS_COLOUR_HIGHLIGHTTEXT: if (!gs_objects.m_colHighlightText.Ok()) { @@ -325,7 +325,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") ); } return *wxWHITE;