item->m_sticky = sticky;
Refresh(false);
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
Update();
-#endif
}
bool wxAuiToolBar::GetToolSticky(int tool_id) const
if (former_hover != pitem)
{
Refresh(false);
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
Update();
-#endif
}
}
if (former_item != pitem)
{
Refresh(false);
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
Update();
-#endif
}
}
{
m_overflowState = overflow_state;
Refresh(false);
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
Update();
-#endif
}
m_overflowState = overflow_state;
m_sizer->SetDimension(0, 0, x, y);
Refresh(false);
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
Update();
-#endif
// idle events aren't sent while user is resizing frame (why?),
// but resizing toolbar here causes havoc,
// repaint immediately
Refresh(false);
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
Update();
-#endif
e.SetInt(toggle);
}
m_pressedButton = m_hoverButton;
m_pressedButton->curState = wxAUI_BUTTON_STATE_PRESSED;
Refresh();
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
Update();
-#endif
}
}
}
Refresh();
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
Update();
-#endif
if (!(m_pressedButton->curState & wxAUI_BUTTON_STATE_DISABLED))
{
m_hoverButton->curState = wxAUI_BUTTON_STATE_NORMAL;
m_hoverButton = NULL;
Refresh();
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
Update();
-#endif
}
if (button->curState != wxAUI_BUTTON_STATE_HOVER)
{
button->curState = wxAUI_BUTTON_STATE_HOVER;
Refresh();
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
Update();
-#endif
+
m_hoverButton = button;
return;
}
m_hoverButton->curState = wxAUI_BUTTON_STATE_NORMAL;
m_hoverButton = NULL;
Refresh();
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
Update();
-#endif
}
}
m_hoverButton->curState = wxAUI_BUTTON_STATE_NORMAL;
m_hoverButton = NULL;
Refresh();
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
Update();
-#endif
}
}
{
SetTabOffset(GetTabOffset()-1);
Refresh();
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
Update();
-#endif
}
}
else
{
SetTabOffset(GetTabOffset()+1);
Refresh();
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
Update();
-#endif
}
}
else if (button == wxAUI_BUTTON_WINDOWLIST)
// TODO: else if (GetFlags() & wxAUI_NB_RIGHT){}
m_tabs->Refresh();
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
m_tabs->Update();
-#endif
wxAuiNotebookPageArray& pages = m_tabs->GetPages();
size_t i, page_count = pages.GetCount();
tabctrl->SetFlags(m_flags);
tabframe->DoSizing();
tabctrl->Refresh();
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
tabctrl->Update();
-#endif
}
}
}
wxAuiNotebookPage& info = ctrl->GetPage(ctrl_idx);
info.caption = text;
ctrl->Refresh();
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
ctrl->Update();
-#endif
}
return true;
wxAuiNotebookPage& info = ctrl->GetPage(ctrl_idx);
info.bitmap = bitmap;
ctrl->Refresh();
-#ifdef TODO_REMOVE_IF_NO_PROBLEMS
ctrl->Update();
-#endif
}
return true;
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