]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/dcclient.cpp
Spell contributor name correctly.
[wxWidgets.git] / src / osx / carbon / dcclient.cpp
index 663640741cd7e5b2c27f969977f85ff032f9954e..4387f6c2a8a0e337db21425537ad5beb776a47c5 100644 (file)
@@ -161,6 +161,8 @@ wxClientDCImpl::wxClientDCImpl( wxDC *owner, wxWindow *window ) :
 
 wxClientDCImpl::~wxClientDCImpl()
 {
+    if( GetGraphicsContext() && GetGraphicsContext()->GetNativeContext() )
+        Flush();
 }
 
 /*