From: Vadim Zeitlin Date: Tue, 19 Oct 2004 08:31:50 +0000 (+0000) Subject: set mouse capture flag to false when releasing the mouse (bug 1049693) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/036277a7905911da4fb83dae5b3d788219d67c09 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 --- 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 )