toplevel adaptions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -66,7 +66,7 @@ bool wxDialog::Create(wxWindow *parent, wxWindowID id,
|
|||||||
|
|
||||||
MacCreateRealWindow( title , pos , size , MacRemoveBordersFromStyle(style) , name ) ;
|
MacCreateRealWindow( title , pos , size , MacRemoveBordersFromStyle(style) , name ) ;
|
||||||
|
|
||||||
m_macWindowData->m_macWindowBackgroundTheme = kThemeBrushDialogBackgroundActive ;
|
m_macWindowBackgroundTheme = kThemeBrushDialogBackgroundActive ;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -108,7 +108,7 @@ bool wxFrame::Create(wxWindow *parent,
|
|||||||
|
|
||||||
MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
|
MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
|
||||||
|
|
||||||
m_macWindowData->m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
|
m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
|
||||||
|
|
||||||
wxModelessWindows.Append(this);
|
wxModelessWindows.Append(this);
|
||||||
|
|
||||||
|
@@ -242,7 +242,7 @@ bool wxMDIChildFrame::Create(wxMDIParentFrame *parent,
|
|||||||
|
|
||||||
MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
|
MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
|
||||||
|
|
||||||
m_macWindowData->m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
|
m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
|
||||||
|
|
||||||
wxModelessWindows.Append(this);
|
wxModelessWindows.Append(this);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@@ -66,7 +66,7 @@ bool wxDialog::Create(wxWindow *parent, wxWindowID id,
|
|||||||
|
|
||||||
MacCreateRealWindow( title , pos , size , MacRemoveBordersFromStyle(style) , name ) ;
|
MacCreateRealWindow( title , pos , size , MacRemoveBordersFromStyle(style) , name ) ;
|
||||||
|
|
||||||
m_macWindowData->m_macWindowBackgroundTheme = kThemeBrushDialogBackgroundActive ;
|
m_macWindowBackgroundTheme = kThemeBrushDialogBackgroundActive ;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -108,7 +108,7 @@ bool wxFrame::Create(wxWindow *parent,
|
|||||||
|
|
||||||
MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
|
MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
|
||||||
|
|
||||||
m_macWindowData->m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
|
m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
|
||||||
|
|
||||||
wxModelessWindows.Append(this);
|
wxModelessWindows.Append(this);
|
||||||
|
|
||||||
|
@@ -242,7 +242,7 @@ bool wxMDIChildFrame::Create(wxMDIParentFrame *parent,
|
|||||||
|
|
||||||
MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
|
MacCreateRealWindow( title, pos , size , MacRemoveBordersFromStyle(style) , name ) ;
|
||||||
|
|
||||||
m_macWindowData->m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
|
m_macWindowBackgroundTheme = kThemeBrushDocumentWindowBackground ;
|
||||||
|
|
||||||
wxModelessWindows.Append(this);
|
wxModelessWindows.Append(this);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Reference in New Issue
Block a user