Small fix for splitter window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
aaf7ab431b
commit
21b07f95d0
@ -281,13 +281,17 @@ void wxSplitterWindow::OnMouseEvent(wxMouseEvent& event)
|
||||
|
||||
SizeWindows();
|
||||
} // left up && dragging
|
||||
else if (event.Moving() && !event.Dragging())
|
||||
else if ((event.Moving() || event.Leaving() || event.Entering()) && (m_dragMode == wxSPLIT_DRAG_NONE))
|
||||
{
|
||||
// Just change the cursor as required
|
||||
if ( SashHitTest(x, y) )
|
||||
if ( !event.Leaving() && SashHitTest(x, y) )
|
||||
{
|
||||
SetResizeCursor();
|
||||
}
|
||||
else
|
||||
{
|
||||
SetCursor(* wxSTANDARD_CURSOR);
|
||||
}
|
||||
}
|
||||
else if (event.Dragging() && (m_dragMode == wxSPLIT_DRAG_DRAGGING))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user