void LLDBTooltip::OnStatusBarMotion(wxMouseEvent& event) { event.Skip(); if(m_dragging) { wxRect curect = GetScreenRect(); wxPoint curpos = ::wxGetMousePosition(); int xDiff = curect.GetBottomRight().x - curpos.x; int yDiff = curect.GetBottomRight().y - curpos.y; if((abs(xDiff) > 3) || (abs(yDiff) > 3)) { DoUpdateSize(false); } } }
void LLDBTooltip::OnStatusBarLeftUp(wxMouseEvent& event) { event.Skip(); DoUpdateSize(true); }
void DisplayVariableDlg::OnStatusLeftUp(wxMouseEvent& event) { event.Skip(); DoUpdateSize(true); }