From: Stefan Csomor Date: Thu, 1 Apr 2004 15:26:36 +0000 (+0000) Subject: default to striped background X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/94d1d0f447efe45e25520d2352a4fe13c1837608 default to striped background git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/dialog.cpp b/src/mac/carbon/dialog.cpp index f31a42497d..9881fac0bd 100644 --- a/src/mac/carbon/dialog.cpp +++ b/src/mac/carbon/dialog.cpp @@ -64,8 +64,6 @@ bool wxDialog::Create(wxWindow *parent, wxWindowID id, if ( !wxTopLevelWindow::Create(parent, id, title, pos, size, style & ~(wxYES|wxOK|wxNO|wxCANCEL) , name) ) return FALSE; - SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)); - return TRUE; } diff --git a/src/mac/carbon/frame.cpp b/src/mac/carbon/frame.cpp index 4fba75bad2..9bb8cb9357 100644 --- a/src/mac/carbon/frame.cpp +++ b/src/mac/carbon/frame.cpp @@ -74,8 +74,6 @@ bool wxFrame::Create(wxWindow *parent, if ( !wxTopLevelWindow::Create(parent, id, title, pos, size, style, name) ) return FALSE; - SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_APPWORKSPACE)); - wxModelessWindows.Append(this); return TRUE; diff --git a/src/mac/carbon/toplevel.cpp b/src/mac/carbon/toplevel.cpp index 9f15a883d9..3d354239a4 100644 --- a/src/mac/carbon/toplevel.cpp +++ b/src/mac/carbon/toplevel.cpp @@ -724,6 +724,8 @@ bool wxTopLevelWindowMac::Create(wxWindow *parent, MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ; + SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_3DFACE)); + wxTopLevelWindows.Append(this); if ( parent )