]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/settings.cpp
added wx/defs.h include to correct compilation issues under Mac OS X
[wxWidgets.git] / src / mac / carbon / settings.cpp
index 2d72222ab892d3586c16aa80572c4541ab447158..df2800a97becb59ff9f5fe4e6e1960a7f8d87aff 100644 (file)
@@ -14,6 +14,7 @@
 #endif
 
 #include "wx/settings.h"
+#include "wx/gdicmn.h"
 
 wxColour wxSystemSettings::GetSystemColour(int index)
 {
@@ -32,6 +33,9 @@ wxColour wxSystemSettings::GetSystemColour(int index)
                        return wxColor( 0xDD , 0xDD , 0xDD ) ;
                        break ;
 
+               case wxSYS_COLOUR_LISTBOX :
+                       return wxColor( 0xEE , 0xEE , 0xEE ) ;
+                       break ;
                case wxSYS_COLOUR_BTNSHADOW:
                        return wxColor( 0x44 , 0x44 , 0x44 ) ;
                        break ;
@@ -74,7 +78,6 @@ wxColour wxSystemSettings::GetSystemColour(int index)
                        break ;
                case wxSYS_COLOUR_INFOBK :
                case wxSYS_COLOUR_APPWORKSPACE: 
-               case wxSYS_COLOUR_LISTBOX:
                        return *wxWHITE ;
                        break ;
        }