cleanup for 10.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1648,7 +1648,9 @@ void wxToolBar::OnPaint(wxPaintEvent& event)
|
||||
drawInfo.kind = kThemeBackgroundMetal;
|
||||
HIThemeApplyBackground( &hiToolbarrect, &drawInfo, cgContext, kHIThemeOrientationNormal );
|
||||
|
||||
#ifndef __LP64__
|
||||
QDEndCGContext( (CGrafPtr) dc.m_macPort, &cgContext );
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user