corrections for theme brush alignments under X (no more SetOrigin calls)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -647,7 +647,6 @@ void wxControl::MacRedrawControl()
|
||||
{
|
||||
wxMacDrawingHelper help( win ) ;
|
||||
// the mac control manager always assumes to have the origin at 0,0
|
||||
SetOrigin( 0 , 0 ) ;
|
||||
wxDC::MacSetupBackgroundForCurrentPort( MacGetBackgroundBrush() ) ;
|
||||
UMADrawControl( m_macControl ) ;
|
||||
}
|
||||
@@ -667,7 +666,6 @@ void wxControl::OnPaint(wxPaintEvent& event)
|
||||
{
|
||||
wxMacDrawingHelper help( win ) ;
|
||||
// the mac control manager always assumes to have the origin at 0,0
|
||||
SetOrigin( 0 , 0 ) ;
|
||||
wxDC::MacSetupBackgroundForCurrentPort( MacGetBackgroundBrush() ) ;
|
||||
UMADrawControl( m_macControl ) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user