From: Stefan Csomor Date: Tue, 31 Jan 2012 15:00:03 +0000 (+0000) Subject: reenabling an Update where necessary X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a27c36f9652f460288a38bda44bb4c2b1a02a911?ds=inline reenabling an Update where necessary git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index bbee5be6b9..cefa38376e 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -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() ;