applied correction from Marc Newsam in calculations of linesize
[wxWidgets.git] / src / mac / carbon / aga.cpp
index 0185303bd1c1906ece9620f58d12269fa8586d1b..1f3310aca5b289cd5c03ea8298da40ef2b2ee830 100644 (file)
@@ -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() ;
        }
 }