X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..025292e998c62dd027dcbac732452e763a034f0f:/src/mac/carbon/aga.cpp diff --git a/src/mac/carbon/aga.cpp b/src/mac/carbon/aga.cpp index 0185303bd1..1f3310aca5 100644 --- a/src/mac/carbon/aga.cpp +++ b/src/mac/carbon/aga.cpp @@ -1,3 +1,4 @@ +#include "wx/dc.h" #include "wx/mac/uma.h" #include "wx/mac/aga.h" @@ -2619,6 +2620,7 @@ AGAPortHelper::~AGAPortHelper() TextMode( mode ); SetOrigin( 0 , 0 ) ; SetPort( port ) ; + wxDC::MacInvalidateSetup() ; } }