mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
* Switch wxTreeItemData to be a %MappedType instead of something that the programmer has to deal with.
* Make [G|S]etItemData be the same as the [G|S]etItemPyData methods in Classic, and make the latter be deprecated aliases. * Adjust unittests and add one for GetSelections. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -236,3 +236,17 @@ wx.ListCtrl
|
||||
public. Instead use the associated getter/setter methods or the
|
||||
auto-generated properties that are using them.
|
||||
|
||||
wx.TreeCtrl
|
||||
-----------
|
||||
|
||||
* The GetItemData and SetItemData now behave just like GetItemPyData
|
||||
and SetItemPyData did in Classic wxPython. In other words, instead
|
||||
of needing to create and use instances of wx.TreeItemData to
|
||||
associate Python data objects with tree items, you just use the
|
||||
Python objects directly. It will also work when passing the data
|
||||
objects directly to the AppendItem, InsertItem, etc. methods. (If
|
||||
anybody was actually using the wx.TreeItemData objects directly
|
||||
before and are unable to adapt then please let Robin know.) The
|
||||
[G|S]etItemPyData members still exist, but are now deprecated
|
||||
aliases for [G|S]etItemData.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user