From d1254299f12c501103e68ec7681328b6e60f74c3 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 16 Jan 2008 13:50:23 +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/branches/WX_2_8_BRANCH@51249 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 )