From 7e8583bdef42de2d6fd5f4c4bcde2d257199f7a1 Mon Sep 17 00:00:00 2001 From: "Unknown (NI)" Date: Mon, 13 Mar 2000 01:59:16 +0000 Subject: [PATCH] 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 --- src/generic/splitter.cpp | 2 ++ 1 file changed, 2 insertions(+) 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)) { -- 2.45.2