]> git.saurik.com Git - wxWidgets.git/commitdiff
reenabling an Update where necessary
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 31 Jan 2012 15:00:03 +0000 (15:00 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 31 Jan 2012 15:00:03 +0000 (15:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/framemanager.cpp

index bbee5be6b9d4d2c014b26cca6e5a335e4009e873..cefa38376eeb40db87d27dc78fd1e88453616c70 100644 (file)
@@ -2655,7 +2655,10 @@ void wxAuiManager::Update()
             if (p.rect != old_pane_rects[i])
             {
                 p.window->Refresh();
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
+
+                // under OSX the repaint events occurs almost immediately
+                // for the other platforms we issue an immediate repaint
+#ifndef __WXOSX__
                 p.window->Update();
 #endif
             }
@@ -3895,7 +3898,7 @@ void wxAuiManager::Render(wxDC* dc)
 
 void wxAuiManager::Repaint(wxDC* dc)
 {
-#ifdef __WXMAC__
+#ifdef __WXMAC__ */
     if ( dc == NULL )
     {
         m_frame->Refresh() ;