]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected background
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 11 May 2002 06:54:36 +0000 (06:54 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 11 May 2002 06:54:36 +0000 (06:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/frame.cpp
src/mac/carbon/mdi.cpp
src/mac/frame.cpp
src/mac/mdi.cpp

index 990ba1a5141cd7315d8768782e9dfbe3dd903d4b..4fe1aec4225396f9198c026dc326e7480315cf14 100644 (file)
@@ -109,6 +109,7 @@ bool wxFrame::Create(wxWindow *parent,
   MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
   
        m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
+       SetThemeWindowBackground( (WindowRef) m_macWindow , m_macWindowBackgroundTheme , false ) ;
 
   wxModelessWindows.Append(this);
 
index 024c4fb6c724e0cf4e08223e8c548d08f960b4be..94b0244562d9749805a9fb4bd884b466fdf049ec 100644 (file)
@@ -244,7 +244,8 @@ bool wxMDIChildFrame::Create(wxMDIParentFrame *parent,
 
        MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
   
-         m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
+       m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
+       SetThemeWindowBackground( (WindowRef) m_macWindow , m_macWindowBackgroundTheme , false ) ;
 
     wxModelessWindows.Append(this);
     return FALSE;
index 990ba1a5141cd7315d8768782e9dfbe3dd903d4b..4fe1aec4225396f9198c026dc326e7480315cf14 100644 (file)
@@ -109,6 +109,7 @@ bool wxFrame::Create(wxWindow *parent,
   MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
   
        m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
+       SetThemeWindowBackground( (WindowRef) m_macWindow , m_macWindowBackgroundTheme , false ) ;
 
   wxModelessWindows.Append(this);
 
index 024c4fb6c724e0cf4e08223e8c548d08f960b4be..94b0244562d9749805a9fb4bd884b466fdf049ec 100644 (file)
@@ -244,7 +244,8 @@ bool wxMDIChildFrame::Create(wxMDIParentFrame *parent,
 
        MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
   
-         m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
+       m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
+       SetThemeWindowBackground( (WindowRef) m_macWindow , m_macWindowBackgroundTheme , false ) ;
 
     wxModelessWindows.Append(this);
     return FALSE;