CGContextFlush is already called in SetNativeContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1524,12 +1524,6 @@ wxMacCoreGraphicsContext::wxMacCoreGraphicsContext() : wxGraphicsContext(NULL)
|
||||
wxMacCoreGraphicsContext::~wxMacCoreGraphicsContext()
|
||||
{
|
||||
SetNativeContext(NULL);
|
||||
#if wxOSX_USE_COCOA_OR_IPHONE
|
||||
if ( m_view )
|
||||
{
|
||||
CGContextFlush(m_cgContext);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
void wxMacCoreGraphicsContext::GetSize( wxDouble* width, wxDouble* height)
|
||||
|
Reference in New Issue
Block a user