CoreGraphics dev
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -122,6 +122,7 @@ wxWindowDC::wxWindowDC(wxWindow *window)
|
||||
CopyRgn( (RgnHandle) m_macBoundaryClipRgn , (RgnHandle) m_macCurrentClipRgn ) ;
|
||||
m_macPort = UMAGetWindowPort( windowref ) ;
|
||||
m_ok = TRUE ;
|
||||
MacSetupGraphicContext() ;
|
||||
SetBackground(MacGetBackgroundBrush(window));
|
||||
}
|
||||
|
||||
@@ -168,6 +169,7 @@ wxClientDC::wxClientDC(wxWindow *window)
|
||||
m_macPort = UMAGetWindowPort( windowref ) ;
|
||||
|
||||
m_ok = TRUE ;
|
||||
MacSetupGraphicContext() ;
|
||||
SetBackground(MacGetBackgroundBrush(window));
|
||||
SetFont( window->GetFont() ) ;
|
||||
}
|
||||
@@ -215,6 +217,7 @@ wxPaintDC::wxPaintDC(wxWindow *window)
|
||||
m_macPort = UMAGetWindowPort( windowref ) ;
|
||||
|
||||
m_ok = TRUE ;
|
||||
MacSetupGraphicContext() ;
|
||||
SetBackground(MacGetBackgroundBrush(window));
|
||||
SetFont( window->GetFont() ) ;
|
||||
}
|
||||
|
Reference in New Issue
Block a user