X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d2f3b08582317760addae3bf02f28bb42dc2bf70..eea4d01c65f9b29baa1193db762b4c6b8144af24:/src/univ/settingsuniv.cpp?ds=sidebyside diff --git a/src/univ/settingsuniv.cpp b/src/univ/settingsuniv.cpp index 24a352a736..8d7ea622ca 100644 --- a/src/univ/settingsuniv.cpp +++ b/src/univ/settingsuniv.cpp @@ -72,10 +72,20 @@ wxColour wxSystemSettings::GetColour(wxSystemColour index) wxColourScheme::MAX /* wxSYS_COLOUR_INFOTEXT */, wxColourScheme::MAX /* wxSYS_COLOUR_INFOBK */, wxColourScheme::WINDOW /* wxSYS_COLOUR_LISTBOX */, + wxColourScheme::MAX /* wxSYS_COLOUR_HOTLIGHT */, + wxColourScheme::TITLEBAR_ACTIVE_TEXT /* wxSYS_COLOUR_GRADIENTACTIVECAPTION */, + wxColourScheme::TITLEBAR_TEXT /* wxSYS_COLOUR_GRADIENTINACTIVECAPTION */, + wxColourScheme::MAX /* wxSYS_COLOUR_MENUHILIGHT */, + wxColourScheme::MAX /* wxSYS_COLOUR_MENUBAR */, + wxColourScheme::CONTROL_TEXT /* wxSYS_COLOUR_LISTBOXTEXT */, + wxColourScheme::HIGHLIGHT_TEXT /* wxSYS_COLOUR_LISTBOXHIGHLIGHTTEXT */ }; + wxCOMPILE_TIME_ASSERT( WXSIZEOF(s_mapSysToThemeCol) == wxSYS_COLOUR_MAX, + StdColDefsMismatch ); + wxCHECK_MSG( index < (int)WXSIZEOF(s_mapSysToThemeCol), wxNullColour, - _T("invalid wxSystemColour") ); + wxT("invalid wxSystemColour") ); wxColourScheme::StdColour col = s_mapSysToThemeCol[index]; if ( col == wxColourScheme::MAX )