From: Václav Slavík Date: Mon, 31 Dec 2001 11:53:40 +0000 (+0000) Subject: compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c72619486dfe7383fb389ac16cceef55a74bd544 compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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];