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
This commit is contained in:
Julian Smart
2008-01-16 13:50:35 +00:00
parent f86f607c99
commit 52bbf26090

View File

@@ -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 )