From 92b799e0431fd2567cab283e7a347db00e35d007 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 27 Oct 2006 14:16:39 +0000 Subject: [PATCH] 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 --- src/common/prntbase.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/prntbase.cpp b/src/common/prntbase.cpp index 3b7a963959..0620e82bdf 100644 --- a/src/common/prntbase.cpp +++ b/src/common/prntbase.cpp @@ -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