if (p.rect != old_pane_rects[i])
{
p.window->Refresh();
-
- // under OSX the repaint events occurs almost immediately
- // for the other platforms we issue an immediate repaint
-#ifndef __WXOSX__
p.window->Update();
-#endif
}
}
}
// remove the last hint rectangle
m_lastHint = rect;
m_frame->Refresh();
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
m_frame->Update();
-#endif
}
wxScreenDC screendc;
if (!m_lastHint.IsEmpty())
{
m_frame->Refresh();
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
m_frame->Update();
-#endif
m_lastHint = wxRect();
}
}
// reduces flicker
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
m_frame->Update();
-#endif
}
void wxAuiManager::OnFloatingPaneMoved(wxWindow* wnd, wxDirection dir)
void wxAuiManager::Repaint(wxDC* dc)
{
-#ifdef __WXMAC__ */
+#ifdef __WXMAC__
if ( dc == NULL )
{
m_frame->Refresh() ;
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
m_frame->Update() ;
-#endif
return ;
}
#endif