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:
@@ -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
|
// 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_3DDKSHADOW;
|
wxSystemColour colourIndex = wxSYS_COLOUR_3DDKSHADOW;
|
||||||
|
#elif defined(__WXGTK__)
|
||||||
|
wxSystemColour colourIndex = wxSYS_COLOUR_BTNFACE;
|
||||||
#else
|
#else
|
||||||
wxSystemColour colourIndex = wxSYS_COLOUR_APPWORKSPACE;
|
wxSystemColour colourIndex = wxSYS_COLOUR_APPWORKSPACE;
|
||||||
#endif
|
#endif
|
||||||
@@ -844,6 +846,8 @@ void wxPreviewCanvas::OnSysColourChanged(wxSysColourChangedEvent& event)
|
|||||||
// 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_3DDKSHADOW;
|
wxSystemColour colourIndex = wxSYS_COLOUR_3DDKSHADOW;
|
||||||
|
#elif defined(__WXGTK__)
|
||||||
|
wxSystemColour colourIndex = wxSYS_COLOUR_BTNFACE;
|
||||||
#else
|
#else
|
||||||
wxSystemColour colourIndex = wxSYS_COLOUR_APPWORKSPACE;
|
wxSystemColour colourIndex = wxSYS_COLOUR_APPWORKSPACE;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user