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:
Stefan Csomor
2009-02-12 07:16:32 +00:00
parent a2ee194587
commit c0f6cd1924

View File

@@ -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)