flushing upon destruction, hope this won't redraw congestion in old code, see #11930

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2010-04-10 17:47:29 +00:00
parent 5575dacc50
commit 72a0d0fc95

View File

@ -161,6 +161,8 @@ wxClientDCImpl::wxClientDCImpl( wxDC *owner, wxWindow *window ) :
wxClientDCImpl::~wxClientDCImpl()
{
if( GetGraphicsContext() && GetGraphicsContext()->GetNativeContext() )
Flush();
}
/*