Also document this deprecation in the change log and explain how to update the
existing code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70575
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
instead of "char**". As the client data is typically untyped, you should
simply remove the casts to "char**" which you probably have in your code if
you use these functions.
+- wxDataViewCtrl::StartEditor(item, n) taking column index is now deprecated,
+ use EditItem(item, GetColumn(n)), which takes the column itself, instead.
Major new features in this release
if (ctrl->IsContainer(selected)) {
wxDataViewItem newitem = ctrl->AppendItem( selected, "Item", 0 );
ctrl->Select(newitem);
- ctrl->StartEditor(newitem, 0);
+ ctrl->EditItem(newitem, ctrl->GetColumn(0));
}
}