From 2240c9edce3433f56a524ec273e3406f065def15 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 10 Apr 2002 08:22:02 +0000 Subject: [PATCH] background setup correctly git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/dialog.cpp | 1 + src/mac/dialog.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mac/carbon/dialog.cpp b/src/mac/carbon/dialog.cpp index 755ad0192a..d0bb7b2adc 100644 --- a/src/mac/carbon/dialog.cpp +++ b/src/mac/carbon/dialog.cpp @@ -67,6 +67,7 @@ bool wxDialog::Create(wxWindow *parent, wxWindowID id, MacCreateRealWindow( title , pos , size , MacRemoveBordersFromStyle(style) , name ) ; m_macWindowBackgroundTheme = kThemeBrushDialogBackgroundActive ; + SetThemeWindowBackground( (WindowRef) m_macWindow , m_macWindowBackgroundTheme , false ) ; return TRUE; } diff --git a/src/mac/dialog.cpp b/src/mac/dialog.cpp index 755ad0192a..d0bb7b2adc 100644 --- a/src/mac/dialog.cpp +++ b/src/mac/dialog.cpp @@ -67,6 +67,7 @@ bool wxDialog::Create(wxWindow *parent, wxWindowID id, MacCreateRealWindow( title , pos , size , MacRemoveBordersFromStyle(style) , name ) ; m_macWindowBackgroundTheme = kThemeBrushDialogBackgroundActive ; + SetThemeWindowBackground( (WindowRef) m_macWindow , m_macWindowBackgroundTheme , false ) ; return TRUE; } -- 2.45.2