]> git.saurik.com Git - wxWidgets.git/commitdiff
Darkened preview background for Mac (else get stripey background)
authorJulian Smart <julian@anthemion.co.uk>
Thu, 17 Apr 2003 20:18:01 +0000 (20:18 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 17 Apr 2003 20:18:01 +0000 (20:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/prntbase.cpp

index 492581ef08ed1ea304c605805b372771ead75488..0b3899fdc47d2790b9eb091cfd64be4feb0f1ea1 100644 (file)
@@ -191,7 +191,7 @@ wxScrolledWindow(parent, -1, pos, size, style, name)
 #ifdef __WXMAC__
     // The app workspace colour is always white, but we should have
     // a contrast with the page.
-    wxSystemColour colourIndex = wxSYS_COLOUR_BTNFACE;
+    wxSystemColour colourIndex = wxSYS_COLOUR_3DDKSHADOW;
 #else
     wxSystemColour colourIndex = wxSYS_COLOUR_APPWORKSPACE;
 #endif    
@@ -228,7 +228,7 @@ void wxPreviewCanvas::OnSysColourChanged(wxSysColourChangedEvent& event)
 #ifdef __WXMAC__
     // The app workspace colour is always white, but we should have
     // a contrast with the page.
-    wxSystemColour colourIndex = wxSYS_COLOUR_BTNFACE;
+    wxSystemColour colourIndex = wxSYS_COLOUR_3DDKSHADOW;
 #else
     wxSystemColour colourIndex = wxSYS_COLOUR_APPWORKSPACE;
 #endif