]> git.saurik.com Git - wxWidgets.git/commitdiff
set mouse capture flag to false when releasing the mouse (bug 1049693)
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 19 Oct 2004 08:31:50 +0000 (08:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 19 Oct 2004 08:31:50 +0000 (08:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/fl/toolwnd.cpp

index 28fdb7880374c71ed9e1fd0361e3061216bb0420..d33883b008d3019544b60e5252511a8ae4e81475 100644 (file)
@@ -385,7 +385,10 @@ void wxToolWindow::SetHintCursor( int type )
         }
 
         if (mMouseCaptured)
+        {
+            mMouseCaptured = false;
             ReleaseMouse();
+        }
     }
 
     if ( !mMouseCaptured )