Darkened preview background for Mac (else get stripey background)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -191,7 +191,7 @@ wxScrolledWindow(parent, -1, pos, size, style, name)
|
|||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
// The app workspace colour is always white, but we should have
|
// The app workspace colour is always white, but we should have
|
||||||
// a contrast with the page.
|
// a contrast with the page.
|
||||||
wxSystemColour colourIndex = wxSYS_COLOUR_BTNFACE;
|
wxSystemColour colourIndex = wxSYS_COLOUR_3DDKSHADOW;
|
||||||
#else
|
#else
|
||||||
wxSystemColour colourIndex = wxSYS_COLOUR_APPWORKSPACE;
|
wxSystemColour colourIndex = wxSYS_COLOUR_APPWORKSPACE;
|
||||||
#endif
|
#endif
|
||||||
@@ -228,7 +228,7 @@ void wxPreviewCanvas::OnSysColourChanged(wxSysColourChangedEvent& event)
|
|||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
// The app workspace colour is always white, but we should have
|
// The app workspace colour is always white, but we should have
|
||||||
// a contrast with the page.
|
// a contrast with the page.
|
||||||
wxSystemColour colourIndex = wxSYS_COLOUR_BTNFACE;
|
wxSystemColour colourIndex = wxSYS_COLOUR_3DDKSHADOW;
|
||||||
#else
|
#else
|
||||||
wxSystemColour colourIndex = wxSYS_COLOUR_APPWORKSPACE;
|
wxSystemColour colourIndex = wxSYS_COLOUR_APPWORKSPACE;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user