X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..d8b130867ce69cc7ae59f85aea7332306abd326e:/src/univ/settingsuniv.cpp?ds=sidebyside diff --git a/src/univ/settingsuniv.cpp b/src/univ/settingsuniv.cpp index ebe9d190d4..8d7ea622ca 100644 --- a/src/univ/settingsuniv.cpp +++ b/src/univ/settingsuniv.cpp @@ -72,8 +72,18 @@ 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, wxT("invalid wxSystemColour") );