Add the rest of the AUI modules and classes

This commit is contained in:
Robin Dunn
2016-10-27 18:49:41 -07:00
parent 981c05d968
commit 5268ebbc73
16 changed files with 486 additions and 46 deletions

View File

@@ -40,16 +40,8 @@ def run():
# We already have a MappedType for wxArrayInt, so just tweak the
# interface to use that instead of an array size and a const int pointer.
m = c.find('SetStatusWidths')
m.find('n').ignore()
m.find('widths_field').type = 'const wxArrayInt&'
m.find('widths_field').name = 'widths'
m.argsString = '(int n, const wxArrayInt& widths)'
m.setCppCode("""\
const int* ptr = &widths->front();
self->SetStatusWidths(widths->size(), ptr);
""")
tools.fixSetStatusWidths(c.find('SetStatusWidths'))
c.addProperty('MenuBar GetMenuBar SetMenuBar')
c.addProperty('StatusBar GetStatusBar SetStatusBar')
c.addProperty('StatusBarPane GetStatusBarPane SetStatusBarPane')