]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/settings.cpp
added wxBitmap::CopyFromIcon and wxIcon::CopyFromBitmap to wxMotif
[wxWidgets.git] / src / mac / settings.cpp
index 92d586c90c97fc6ab9975571d35247a80a27fe2b..5c3cc0990bc594963d1b304b334830c589a9798a 100644 (file)
@@ -17,6 +17,8 @@
 #include "wx/gdicmn.h"
 #include "wx/utils.h"
 
+#include "wx/mac/uma.h"
+
 // ----------------------------------------------------------------------------
 // wxSystemSettingsNative
 // ----------------------------------------------------------------------------
@@ -42,6 +44,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
         case wxSYS_COLOUR_ACTIVEBORDER:
         case wxSYS_COLOUR_INACTIVEBORDER:
         case wxSYS_COLOUR_BTNFACE:
+        case wxSYS_COLOUR_MENUBAR:
             return wxColor( 0xDD , 0xDD , 0xDD ) ;
             break ;
 
@@ -97,6 +100,17 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
         case wxSYS_COLOUR_APPWORKSPACE: 
             return *wxWHITE ;
             break ;
+
+        case wxSYS_COLOUR_HOTLIGHT:
+        case wxSYS_COLOUR_GRADIENTACTIVECAPTION:
+        case wxSYS_COLOUR_GRADIENTINACTIVECAPTION:
+        case wxSYS_COLOUR_MENUHILIGHT:
+            // TODO
+            return *wxBLACK;
+         
+        case wxSYS_COLOUR_MAX:
+            wxFAIL_MSG( _T("unknown system colour index") );
+            break ;
     }
     return *wxWHITE;
 }