More progress on propgrid classes

This commit is contained in:
Robin Dunn
2015-03-03 20:48:37 -08:00
parent f73396c479
commit 73b2e45156
3 changed files with 33 additions and 8 deletions

View File

@@ -17,11 +17,15 @@ DOCSTRING = ""
# The classes and/or the basename of the Doxygen XML files to be processed by
# this script.
ITEMS = [ 'wxPGProperty',
'wxPGCell',
'wxPGChoices',
'wxPGPaintData',
ITEMS = [ 'wxPGPaintData',
'wxPGCellRenderer',
'wxPGDefaultRenderer',
'wxPGCellData',
'wxPGProperty',
'wxPGCell',
'wxPGChoiceEntry',
'wxPGChoicesData',
'wxPGChoices',
]
#---------------------------------------------------------------------------
@@ -37,6 +41,16 @@ def run():
c = module.find('wxPGProperty')
assert isinstance(c, etgtools.ClassDef)
tools.ignoreConstOverloads(c)
c = module.find('wxPGChoicesData')
tools.ignoreConstOverloads(c)
c = module.find('wxPGChoices')
c.find('wxPGChoices').findOverload('wxChar **').ignore()
tools.ignoreConstOverloads(c)
#-----------------------------------------------------------------

View File

@@ -17,7 +17,15 @@ DOCSTRING = ""
# The classes and/or the basename of the Doxygen XML files to be processed by
# this script.
ITEMS = [ 'wxPGEditor',
ITEMS = [ 'wxPGWindowList',
'wxPGEditor',
'wxPGTextCtrlEditor',
'wxPGChoiceEditor',
'wxPGComboBoxEditor',
'wxPGChoiceAndButtonEditor',
'wxPGTextCtrlAndButtonEditor',
'wxPGCheckBoxEditor',
'wxPGEditorDialogAdapter',
'wxPGMultiButton',
]
@@ -32,8 +40,10 @@ def run():
# Tweak the parsed meta objects in the module object as needed for
# customizing the generated code and docstrings.
#c = module.find('')
#assert isinstance(c, etgtools.ClassDef)
c = module.find('wxPGMultiButton')
assert isinstance(c, etgtools.ClassDef)
tools.fixWindowClass(c)
#-----------------------------------------------------------------

View File

@@ -5,7 +5,7 @@
# Author: Andrea Gavana
#
# Created: 30-Nov-2010
# Copyright: (c) 2010-2016 by Total Control Software
# Copyright: (c) 2013 by Total Control Software
# License: wxWindows License
#---------------------------------------------------------------------------
@@ -84,6 +84,7 @@ MODULENAME_REPLACE = {'_core' : 'wx.',
'_media' : 'wx.media.',
'_msw' : 'wx.msw.',
'_ribbon' : 'wx.ribbon.',
'_propgrid': 'wx.propgrid.',
}