From db693128dd3179a8bea9230b46b082e775fcf216 Mon Sep 17 00:00:00 2001 From: George Tasker Date: Sat, 9 Feb 2002 15:03:33 +0000 Subject: [PATCH] Patch #514836 - Tested by Hans git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/fl/toolwnd.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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; -- 2.47.2