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 */,
};
+ 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 )