Need an explicit #include to avoid compile errors. Not sure why it isn't using the one it the %TypeHeaderCode...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@70204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2011-12-30 19:00:41 +00:00
parent 55c6e44de5
commit 7b064bc226

View File

@@ -19,7 +19,7 @@ DOCSTRING = ""
# this script.
ITEMS = [ "wxWrapSizer",
]
#---------------------------------------------------------------------------
def run():
@@ -30,6 +30,8 @@ def run():
#-----------------------------------------------------------------
# Tweak the parsed meta objects in the module object as needed for
# customizing the generated code and docstrings.
module.addHeaderCode("#include <wx/wrapsizer.h>")
c = module.find('wxWrapSizer')
assert isinstance(c, etgtools.ClassDef)