Add magic methods to wx.Size and add unit tests for wx.Size. Also a bit of related refactoring and cleanup.

git-svn-id: https://svn.wxwidgets.org/svn/wx/sandbox/trunk/Phoenix@66147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2010-11-14 01:29:52 +00:00
parent 70fdcc702e
commit 24c86126d9
9 changed files with 306 additions and 56 deletions

View File

@@ -30,9 +30,9 @@ etgtools.parseDoxyXML(module, ITEMS)
# Tweak the parsed meta objects in the module object as needed for customizing
# the generated code and docstrings.
import etgtools.tweaker_tools
etgtools.tweaker_tools.ignoreAssignmentOperators(module)
etgtools.tweaker_tools.removeWxPrefixes(module)
import etgtools.tweaker_tools as tools
tools.ignoreAssignmentOperators(module)
tools.removeWxPrefixes(module)
module.addHeaderCode('#include <wx/wx.h>')