Ignore the void* version of the client data methods

This commit is contained in:
Robin Dunn
2016-07-04 22:29:05 -07:00
parent 0577281ec9
commit 383fa33fb0
2 changed files with 13 additions and 0 deletions

View File

@@ -42,6 +42,12 @@ def run():
assert isinstance(c, etgtools.ClassDef)
tools.fixWindowClass(c)
# Ignore the methods setting and fetching client data as a void*. We have
# a mapped type for the wxClientData alternatives that work well and are
# hack free.
c.find('SetItemClientData').ignore()
c.find('GetItemClientData').ignore()
c = module.find('wxRibbonButtonBarEvent')
tools.fixEventClass(c)

View File

@@ -42,6 +42,13 @@ def run():
assert isinstance(c, etgtools.ClassDef)
tools.fixWindowClass(c)
# Ignore the methods setting and fetching client data as a void*. We have
# a mapped type for the wxClientData alternatives that work well and are
# hack free.
c.find('Append').findOverload('void *').ignore()
c.find('SetItemClientData').ignore()
c.find('GetItemClientData').ignore()
c = module.find('wxRibbonGalleryEvent')
tools.fixEventClass(c)