]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/settings.cpp
Compilation fix.
[wxWidgets.git] / src / os2 / settings.cpp
index 1dc15fcfac546e0ce737d7610d8dd54c6ea079e5..47b35142a9bb2409117976b6901b9dbef01adadf 100644 (file)
@@ -18,9 +18,9 @@
 #include "wx/pen.h"
 #include "wx/brush.h"
 #include "wx/gdicmn.h"
-#include "wx/module.h"
 #endif
 
+#include "wx/module.h"
 #include "wx/settings.h"
 #include "wx/window.h"
 #include "wx/os2/private.h"
@@ -149,6 +149,17 @@ wxColour wxSystemSettingsNative::GetColour(
                     );
             break;
 
+        case wxSYS_COLOUR_MENUBAR:
+            vRef = (ULONG)::WinQuerySysColor( HWND_DESKTOP
+                                             ,SYSCLR_MENU
+                                             ,0L
+                                            );
+            vCol.Set( GetRValue(vRef)
+                     ,GetGValue(vRef)
+                     ,GetBValue(vRef)
+                    );
+            break;
+
         //
         // We'll have to just give values to these
         //