mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 19:40:12 +01:00
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:
@@ -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)")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user