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:
@@ -385,7 +385,10 @@ void wxToolWindow::SetHintCursor( int type )
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (mMouseCaptured)
|
if (mMouseCaptured)
|
||||||
|
{
|
||||||
|
mMouseCaptured = false;
|
||||||
ReleaseMouse();
|
ReleaseMouse();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !mMouseCaptured )
|
if ( !mMouseCaptured )
|
||||||
|
Reference in New Issue
Block a user