From 036277a7905911da4fb83dae5b3d788219d67c09 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 19 Oct 2004 08:31:50 +0000 Subject: [PATCH] set mouse capture flag to false when releasing the mouse (bug 1049693) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/fl/toolwnd.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/src/fl/toolwnd.cpp b/contrib/src/fl/toolwnd.cpp index 28fdb78803..d33883b008 100644 --- a/contrib/src/fl/toolwnd.cpp +++ b/contrib/src/fl/toolwnd.cpp @@ -385,7 +385,10 @@ void wxToolWindow::SetHintCursor( int type ) } if (mMouseCaptured) + { + mMouseCaptured = false; ReleaseMouse(); + } } if ( !mMouseCaptured ) -- 2.50.0