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
This commit is contained in:
Julian Smart
2008-01-16 13:50:23 +00:00
parent 3588d8d1c4
commit d1254299f1

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 )