From: Unknown (NI) Date: Mon, 13 Mar 2000 01:59:16 +0000 (+0000) Subject: someone forgot to clear the m_needUpdating flag, so Splitter-Windows were always... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7e8583bdef42de2d6fd5f4c4bcde2d257199f7a1 someone forgot to clear the m_needUpdating flag, so Splitter-Windows were always redrawn after the first sash move in the OnIdle function, even after the dragging was over\! git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/splitter.cpp b/src/generic/splitter.cpp index 6950009cb0..871a443c0e 100644 --- a/src/generic/splitter.cpp +++ b/src/generic/splitter.cpp @@ -288,6 +288,8 @@ void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event) SetCursor(* wxSTANDARD_CURSOR); } #endif // __WXGTK__ + + m_needUpdating = FALSE; } else if (event.Dragging() && (m_dragMode == wxSPLIT_DRAG_DRAGGING)) {