]> git.saurik.com Git - wxWidgets.git/commitdiff
default to striped background
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 1 Apr 2004 15:26:36 +0000 (15:26 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 1 Apr 2004 15:26:36 +0000 (15:26 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/dialog.cpp
src/mac/carbon/frame.cpp
src/mac/carbon/toplevel.cpp

index f31a42497dfe4f86af9e4f0308df4be95f45284e..9881fac0bdeac636ea22c687437931dce80b8286 100644 (file)
@@ -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;
 }
 
index 4fba75bad2378106fb459af13523d5fb66dc36b4..9bb8cb9357371115831107e60e0b2a7b90068fd8 100644 (file)
@@ -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;
index 9f15a883d92ee24aca7d858f35cecd334f50526f..3d354239a4a71ccdf5974f612275f43ce370e555 100644 (file)
@@ -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 )