diff --git a/etg/dcprint.py b/etg/dcprint.py index 7f929b6d..d4208d5d 100644 --- a/etg/dcprint.py +++ b/etg/dcprint.py @@ -24,7 +24,6 @@ ITEMS = [ 'wxPrinterDC', ] def run(): # Parse the XML file(s) building a collection of Extractor objects module = etgtools.ModuleDef(PACKAGE, MODULE, NAME, DOCSTRING) - module.items.append(etgtools.TypedefDef(type='int', name='wxPrintQuality')) etgtools.parseDoxyXML(module, ITEMS) diff --git a/etg/defs.py b/etg/defs.py index 94a175ed..06171a32 100644 --- a/etg/defs.py +++ b/etg/defs.py @@ -53,6 +53,7 @@ def run(): module.insertItemAfter(td, etgtools.TypedefDef(type='wchar_t', name='wxChar')) module.insertItemAfter(td, etgtools.TypedefDef(type='unsigned int', name='size_t')) module.insertItemAfter(td, etgtools.TypedefDef(type='long', name='time_t')) + module.insertItemAfter(td, etgtools.TypedefDef(type='int', name='wxPrintQuality')) # Forward declarations for classes that are referenced but not defined