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
This commit is contained in:
Vadim Zeitlin
2004-10-19 08:31:50 +00:00
parent 815cb839b5
commit 036277a790

View File

@@ -385,7 +385,10 @@ void wxToolWindow::SetHintCursor( int type )
}
if (mMouseCaptured)
{
mMouseCaptured = false;
ReleaseMouse();
}
}
if ( !mMouseCaptured )