FIx the %Extract used in the wxListWrapper and wxArrayWrapper templates to include the module name

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@69136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2011-09-18 04:40:55 +00:00
parent 462c8b7932
commit 91a404fd22
9 changed files with 23 additions and 16 deletions

View File

@@ -258,11 +258,12 @@ def run():
# Add a wrapper for wxWindowList and a new iterator class for it that
# makes wxWindowList quack like a read-only Python sequence.
module.addItem(tools.wxListWrapperTemplate('wxWindowList', 'wxWindow'))
module.addItem(tools.wxListWrapperTemplate('wxWindowList', 'wxWindow', module))
module.addCppFunction('wxWindowList*', 'GetTopLevelWindows', '()',
briefDoc="Returns a list-like object of the the application's top-level windows, (frames,dialogs, etc.)",
body="return &wxTopLevelWindows;")
module.addPyCode("PyWindow = wx.deprecated(Window)")
module.addPyCode("Window.SetSizeWH = wx.deprecated(Window.SetSizeWH)")