]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/window.cpp
activate new xpm handler under Classic Mac OS after xpm handler fixes
[wxWidgets.git] / src / mac / carbon / window.cpp
index 148538256d9a5a48f738c90e3f2fd1d2659f0d84..b3b459a0d38fd0a9a003d456bac4bed766077580 100644 (file)
@@ -108,6 +108,8 @@ void wxRemoveMacWindowAssociation(wxWindow *win)
 // constructors and such
 // ----------------------------------------------------------------------------
 
+WindowRef wxWindow::s_macWindowInUpdate = NULL;
+
 void wxWindow::Init()
 {
     // generic
@@ -2351,7 +2353,6 @@ wxMacDrawingHelper::~wxMacDrawingHelper()
                Rect portRect ;
                GetPortBounds( m_currentPort , &portRect ) ;
                ClipRect( &portRect ) ;
-               wxDC::MacInvalidateSetup() ;    
        }
                
        if ( m_formerPort != m_currentPort )