]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/fl/toolwnd.cpp
Faster Deselect
[wxWidgets.git] / 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 )