]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/settings.cpp
wxExecute may only be called from the main thread
[wxWidgets.git] / src / msw / settings.cpp
index 5cf3b7970075c278c6e98cbc56baa52b6b6a78dd..a621cc73e233731c9151db79f9998e50ea5ae8c8 100644 (file)
@@ -187,7 +187,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
             }
             else // replace with default colour
             {
-                int n = index - wxSYS_COLOUR_BTNHIGHLIGHT;
+                unsigned int n = index - wxSYS_COLOUR_BTNHIGHLIGHT;
 
                 wxASSERT_MSG( n < WXSIZEOF(s_defaultSysColors),
                               _T("forgot tp update the default colours array") );