]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/settings.cpp
wxUniv compilation fixes
[wxWidgets.git] / src / msw / settings.cpp
index 1c5c52d6729235f7ff9c2c510ab126429652c2b3..9ba29bc069f33617f7b15b8df470adc93422525b 100644 (file)
@@ -200,7 +200,11 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
 
     if ( !hasCol )
     {
+#ifdef __WXWINCE__
+        colSys = ::GetSysColor(index|SYS_COLOR_INDEX_FLAG);
+#else
         colSys = ::GetSysColor(index);
+#endif
     }
 
     return wxRGBToColour(colSys);