]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/settings.cpp
fix for wxSYS_COLOUR_LISTBOX representation
[wxWidgets.git] / src / msw / settings.cpp
index 3f6107f4f811369689080d01352b7d703c798c75..3e55d24dfeed9f3f708062e43c36ac9efc5a2d17 100644 (file)
@@ -174,6 +174,7 @@ wxFont wxSystemSettingsNative::GetFont(wxSystemFont index)
 // unknown
 static const int gs_metricsMap[] =
 {
+    -1,  // wxSystemMetric enums start at 1, so give a dummy value for pos 0.
 #ifdef __WIN32__
     SM_CMOUSEBUTTONS,
 #else