diff --git a/etg/_core.py b/etg/_core.py index 1a85c56a..20fbcb46 100644 --- a/etg/_core.py +++ b/etg/_core.py @@ -111,7 +111,7 @@ INCLUDES = [ 'defs', 'withimage', 'bookctrl', 'notebook', - 'imagelist', + 'imaglist', 'splitter', 'collpane', 'statline', diff --git a/etg/imagelist.py b/etg/imaglist.py similarity index 82% rename from etg/imagelist.py rename to etg/imaglist.py index 09684947..0c54928e 100644 --- a/etg/imagelist.py +++ b/etg/imaglist.py @@ -1,5 +1,5 @@ #--------------------------------------------------------------------------- -# Name: etg/imagelist.py +# Name: etg/imaglist.py # Author: Kevin Ollivier # # Created: 27-Aug-2011 @@ -12,14 +12,13 @@ import etgtools.tweaker_tools as tools PACKAGE = "wx" MODULE = "_core" -NAME = "imagelist" # Base name of the file to generate to for this script +NAME = "imaglist" # Base name of the file to generate to for this script DOCSTRING = "" # The classes and/or the basename of the Doxygen XML files to be processed by # this script. -ITEMS = [ - 'wxImageList', - ] +ITEMS = [ 'wxImageList', + ] #--------------------------------------------------------------------------- @@ -36,7 +35,11 @@ def run(): assert isinstance(c, etgtools.ClassDef) c.addPrivateCopyCtor() c.addPrivateAssignOp() + tools.removeVirtuals(c) + c.find('GetSize').type = 'void' + c.find('GetSize.width').out = True + c.find('GetSize.height').out = True #----------------------------------------------------------------- tools.doCommonTweaks(module)