From c72619486dfe7383fb389ac16cceef55a74bd544 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 31 Dec 2001 11:53:40 +0000 Subject: [PATCH] compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/univ/colschem.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]; -- 2.50.0