]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/colschem.cpp
added missing include file for Apple DevTools
[wxWidgets.git] / src / univ / colschem.cpp
index 608fd3ea2d47ffc64f03f1fa639decd7ad5a4d0d..56ee6601536fad8b825cba01533b14199ef42b02 100644 (file)
@@ -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];