X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4676948b6814c97b93c431a8cbcd8c0352c87ba9..567be1875494c4cb90a3bdff691f8545e4f6e41d:/src/msw/settings.cpp?ds=inline diff --git a/src/msw/settings.cpp b/src/msw/settings.cpp index 1c5c52d672..9ba29bc069 100644 --- a/src/msw/settings.cpp +++ b/src/msw/settings.cpp @@ -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);