X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7516ed26c9749018135c24afdd0576e4366c92e6..f7035880664b0989ba37df99956b556c322d50a7:/src/univ/colschem.cpp?ds=sidebyside diff --git a/src/univ/colschem.cpp b/src/univ/colschem.cpp index 608fd3ea2d..56ee660153 100644 --- a/src/univ/colschem.cpp +++ b/src/univ/colschem.cpp @@ -34,6 +34,7 @@ #include "wx/settings.h" #include "wx/univ/colschem.h" +#include "wx/univ/theme.h" // ============================================================================ // implementation @@ -86,7 +87,7 @@ wxColour wxSystemSettings::GetColour(wxSystemColour index) wxColourScheme::CONTROL /* wxSYS_COLOUR_LISTBOX */, }; - wxCHECK_MSG( index < WXSIZEOF(s_mapSysToThemeCol), wxNullColour, + wxCHECK_MSG( index < (int)WXSIZEOF(s_mapSysToThemeCol), wxNullColour, _T("invalid wxSystemColour") ); wxColourScheme::StdColour col = s_mapSysToThemeCol[index];