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