mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Add the rest of the AUI modules and classes
This commit is contained in:
12
etg/frame.py
12
etg/frame.py
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user