X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7eff657c071f9df1938edb2d1b530492ccfc9489..75d7ef36eb97f84a53715721d11708cc33420cc2:/contrib/src/fl/toolwnd.cpp?ds=sidebyside diff --git a/contrib/src/fl/toolwnd.cpp b/contrib/src/fl/toolwnd.cpp index 171e3df845..621760a827 100644 --- a/contrib/src/fl/toolwnd.cpp +++ b/contrib/src/fl/toolwnd.cpp @@ -338,21 +338,20 @@ void wxToolWindow::DrawHintRect( const wxRect& r ) 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;