From 52bbf260908e71824697fd3dee56bd1a71c073f9 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 16 Jan 2008 13:50:35 +0000 Subject: [PATCH] Correction for cursor setting when moving out of a sash window (John Dallaway) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/sashwin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/sashwin.cpp b/src/generic/sashwin.cpp index fc30aba821..e4f50b756e 100644 --- a/src/generic/sashwin.cpp +++ b/src/generic/sashwin.cpp @@ -289,7 +289,7 @@ void wxSashWindow::OnMouseEvent(wxMouseEvent& event) ReleaseMouse(); m_mouseCaptured = false; } - else if (event.Moving() && !event.Dragging()) + else if ((event.Moving() || event.Leaving()) && !event.Dragging()) { // Just change the cursor if required if ( sashHit != wxSASH_NONE ) -- 2.45.2