git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14079
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxToolWindow::SetHintCursor( int type )
{
- if ( mResizeStarted ) return;
+ if ( mResizeStarted )
+ return;
if ( type == HITS_WND_NOTHING || type == HITS_WND_CLIENT )
{
// the cursor is out of window - reset to arrow
- if ( mMouseCaptured && !mResizeStarted )
+ if ( mMouseCaptured )
{
ReleaseMouse();
mMouseCaptured = FALSE;
}
- if ( mCursorType == HITS_WND_NOTHING && !mResizeStarted )
-
- SetCursor( wxCURSOR_ARROW );
+ SetCursor( wxCURSOR_ARROW );
mCursorType = type;