]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/themes/win32.cpp
AddBook ignores wxMac paths (still won't work)
[wxWidgets.git] / src / univ / themes / win32.cpp
index 716bcc0ec997ef3ab623b257b6d5247c4d0e11f7..349c3f088eafa740da07c1dadf63ea036199a456 100644 (file)
@@ -1090,8 +1090,6 @@ wxColour wxWin32ColourScheme::Get(wxWin32ColourScheme::StdColour col) const
 {
     switch ( col )
     {
-        case WINDOW:            return *wxWHITE;
-
         // use the system colours under Windows
 #if defined(__WXMSW__)
         case WINDOW:            return wxColour(GetSysColor(COLOR_WINDOW));
@@ -1123,6 +1121,8 @@ wxColour wxWin32ColourScheme::Get(wxWin32ColourScheme::StdColour col) const
         case SHADOW_OUT:        return wxColour(GetSysColor(COLOR_BTNSHADOW));
 #else // !__WXMSW__
         // use the standard Windows colours elsewhere
+        case WINDOW:            return *wxWHITE;
+
         case CONTROL_PRESSED:
         case CONTROL_CURRENT:
         case CONTROL:           return wxColour(0xc0c0c0);