Fixed problem with label resize cursor not resetting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1655,14 +1655,12 @@ void wxGrid::ProcessRowLabelMouseEvent( wxMouseEvent& event )
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( m_cursorMode != WXGRID_CURSOR_SELECT_CELL )
|
||||
{
|
||||
m_cursorMode = WXGRID_CURSOR_SELECT_CELL;
|
||||
if ( m_rowLabelWin->GetCursor() == m_rowResizeCursor )
|
||||
m_rowLabelWin->SetCursor( *wxSTANDARD_CURSOR );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1844,14 +1842,12 @@ void wxGrid::ProcessColLabelMouseEvent( wxMouseEvent& event )
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( m_cursorMode != WXGRID_CURSOR_SELECT_CELL )
|
||||
{
|
||||
m_cursorMode = WXGRID_CURSOR_SELECT_CELL;
|
||||
if ( m_colLabelWin->GetCursor() == m_colResizeCursor )
|
||||
m_colLabelWin->SetCursor( *wxSTANDARD_CURSOR );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user