Replace wxDataViewCtrl::StartEditor() with EditItem().

This is more consistent with other wxDVC methods (taking column pointer
as its argument) and other DVC-like classes where the name EditLabel()
is used for similar purposes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2012-01-17 14:05:17 +00:00
parent 9944f9c6f3
commit 907f09f44b
9 changed files with 35 additions and 27 deletions

View File

@@ -1418,6 +1418,11 @@ wxDataViewCtrlBase::InsertColumn( unsigned int WXUNUSED(pos), wxDataViewColumn *
return true;
}
void wxDataViewCtrlBase::StartEditor(const wxDataViewItem& item, unsigned int column)
{
EditItem(item, GetColumn(column));
}
// ---------------------------------------------------------
// wxDataViewEvent
// ---------------------------------------------------------