reenabling an Update where necessary

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2012-01-31 15:00:03 +00:00
parent c84ef5b9f7
commit a27c36f965

View 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() ;