Ensure that current column is visible in generic wxDataViewCtrl.
When navigating between columns using keyboard, ensure visibility of the newly selected column. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ecd4526b30
commit
78e18e8d53
@ -3775,6 +3775,8 @@ bool wxDataViewMainWindow::TryAdvanceCurrentColumn(wxDataViewTreeNode *node, boo
|
||||
if ( idx >= (int)GetOwner()->GetColumnCount() )
|
||||
return false;
|
||||
|
||||
GetOwner()->EnsureVisible(m_currentRow, idx);
|
||||
|
||||
if ( idx < 1 )
|
||||
{
|
||||
// We are going to the left of the second column. Reset to whole-row
|
||||
|
Loading…
Reference in New Issue
Block a user