0, // MENUBAR (unused)
};
- if ( index == wxSYS_COLOUR_LISTBOX )
+ if ( index == wxSYS_COLOUR_LISTBOXTEXT)
+ {
+ // there is no standard colour with this index, map to another one
+ index = wxSYS_COLOUR_WINDOWTEXT;
+ }
+ else if ( index == wxSYS_COLOUR_LISTBOX )
{
// there is no standard colour with this index, map to another one
index = wxSYS_COLOUR_WINDOW;
#else
-1,
#endif
+ // SM_SWAPBUTTON is not available under CE and it doesn't make sense to ask
+ // for it there
+#ifdef SM_SWAPBUTTON
SM_SWAPBUTTON,
+#else
+ -1,
+#endif
-1 // wxSYS_DCLICK_MSEC - not available as system metric
};