diff --git a/src/mac/carbon/dialog.cpp b/src/mac/carbon/dialog.cpp index 1537065f54..8a066964ca 100644 --- a/src/mac/carbon/dialog.cpp +++ b/src/mac/carbon/dialog.cpp @@ -66,7 +66,7 @@ bool wxDialog::Create(wxWindow *parent, wxWindowID id, MacCreateRealWindow( title , pos , size , MacRemoveBordersFromStyle(style) , name ) ; - m_macWindowData->m_macWindowBackgroundTheme = kThemeBrushDialogBackgroundActive ; + m_macWindowBackgroundTheme = kThemeBrushDialogBackgroundActive ; return TRUE; } diff --git a/src/mac/carbon/frame.cpp b/src/mac/carbon/frame.cpp index 81f6b40bee..adc15790af 100644 --- a/src/mac/carbon/frame.cpp +++ b/src/mac/carbon/frame.cpp @@ -108,7 +108,7 @@ bool wxFrame::Create(wxWindow *parent, MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ; - m_macWindowData->m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ; + m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ; wxModelessWindows.Append(this); diff --git a/src/mac/carbon/mdi.cpp b/src/mac/carbon/mdi.cpp index f0d2f53138..b41f8735e8 100644 --- a/src/mac/carbon/mdi.cpp +++ b/src/mac/carbon/mdi.cpp @@ -242,7 +242,7 @@ bool wxMDIChildFrame::Create(wxMDIParentFrame *parent, MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ; - m_macWindowData->m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ; + m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ; wxModelessWindows.Append(this); return FALSE; diff --git a/src/mac/dialog.cpp b/src/mac/dialog.cpp index 1537065f54..8a066964ca 100644 --- a/src/mac/dialog.cpp +++ b/src/mac/dialog.cpp @@ -66,7 +66,7 @@ bool wxDialog::Create(wxWindow *parent, wxWindowID id, MacCreateRealWindow( title , pos , size , MacRemoveBordersFromStyle(style) , name ) ; - m_macWindowData->m_macWindowBackgroundTheme = kThemeBrushDialogBackgroundActive ; + m_macWindowBackgroundTheme = kThemeBrushDialogBackgroundActive ; return TRUE; } diff --git a/src/mac/frame.cpp b/src/mac/frame.cpp index 81f6b40bee..adc15790af 100644 --- a/src/mac/frame.cpp +++ b/src/mac/frame.cpp @@ -108,7 +108,7 @@ bool wxFrame::Create(wxWindow *parent, MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ; - m_macWindowData->m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ; + m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ; wxModelessWindows.Append(this); diff --git a/src/mac/mdi.cpp b/src/mac/mdi.cpp index f0d2f53138..b41f8735e8 100644 --- a/src/mac/mdi.cpp +++ b/src/mac/mdi.cpp @@ -242,7 +242,7 @@ bool wxMDIChildFrame::Create(wxMDIParentFrame *parent, MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ; - m_macWindowData->m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ; + m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ; wxModelessWindows.Append(this); return FALSE;