From e2c28de23e91ccd6541bb59b96badb8205b4e960 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sun, 4 Apr 2004 09:07:30 +0000 Subject: [PATCH] color must not be set for wxMac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/panelg.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/generic/panelg.cpp b/src/generic/panelg.cpp index f29cf4019b..04db45b083 100644 --- a/src/generic/panelg.cpp +++ b/src/generic/panelg.cpp @@ -124,7 +124,9 @@ bool wxPanel::Create(wxWindow *parent, wxWindowID id, if ( !wxWindow::Create(parent, id, pos, size, style, name) ) return false; +#ifndef __WXMAC__ SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)); +#endif return true; } -- 2.50.0