Colour preview canvas grey to contrast with page
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
45c64b28ba
commit
92b799e043
@ -807,6 +807,8 @@ wxScrolledWindow(parent, wxID_ANY, pos, size, style | wxFULL_REPAINT_ON_RESIZE,
|
||||
// The app workspace colour is always white, but we should have
|
||||
// a contrast with the page.
|
||||
wxSystemColour colourIndex = wxSYS_COLOUR_3DDKSHADOW;
|
||||
#elif defined(__WXGTK__)
|
||||
wxSystemColour colourIndex = wxSYS_COLOUR_BTNFACE;
|
||||
#else
|
||||
wxSystemColour colourIndex = wxSYS_COLOUR_APPWORKSPACE;
|
||||
#endif
|
||||
@ -844,6 +846,8 @@ void wxPreviewCanvas::OnSysColourChanged(wxSysColourChangedEvent& event)
|
||||
// The app workspace colour is always white, but we should have
|
||||
// a contrast with the page.
|
||||
wxSystemColour colourIndex = wxSYS_COLOUR_3DDKSHADOW;
|
||||
#elif defined(__WXGTK__)
|
||||
wxSystemColour colourIndex = wxSYS_COLOUR_BTNFACE;
|
||||
#else
|
||||
wxSystemColour colourIndex = wxSYS_COLOUR_APPWORKSPACE;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user