+ case wxSYS_COLOUR_ACTIVECAPTION:
+ case wxSYS_COLOUR_MENUHILIGHT:
+ if (!gs_objects.m_colMenuItemHighlight.Ok())
+ {
+ int red, green, blue;
+ if ( !GetColourFromGTKWidget(red, green, blue,
+ wxGTK_MENUITEM,
+ GTK_STATE_SELECTED,
+ wxGTK_BG) )
+ {
+ red =
+ green =
+ blue = 0;
+ }
+
+ gs_objects.m_colMenuItemHighlight = wxColour( red >> SHIFT,
+ green >> SHIFT,
+ blue >> SHIFT );
+ }
+ return gs_objects.m_colMenuItemHighlight;
+