diff --git a/etg/wrapsizer.py b/etg/wrapsizer.py index 90a81e37..b5a84fc2 100644 --- a/etg/wrapsizer.py +++ b/etg/wrapsizer.py @@ -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 ") c = module.find('wxWrapSizer') assert isinstance(c, etgtools.ClassDef)