Python sequence wrappers for wxLists

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-06-02 23:42:18 +00:00
parent 616fdc4311
commit eefcdd4b0f
6 changed files with 259 additions and 42 deletions

View File

@@ -1,6 +1,28 @@
Recent Changes for wxPython
=====================================================================
2.8.4.1
-------
*
Added some SWIG magic that allows wx C++ lists to be exposed to
wxPython as sqequence-like wrappers around the real list, instead of
making a Python list that is a copy of the real list as was done
before. These sequence-like objects support indexing, iteration and
containment tests ("obj in seq") but not anything that would modify the
sequence. If you need to have a real list object like before you can
pass the sequence to Python's list() function to convert it. Current
functions that are affected by this are wx.Window.GetChildren,
wx.GetTopLevelWindows, wx.Sizer.GetChildren, and
wx.Menu.GetMenuItems. Care should be taken to be sure that you don't
try to use the sequence after the C++ object the list belongs to has
been destroyed.
2.8.4.0
-------
* 14-May-2007