mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 11:30:06 +01:00
Add accessors for the internal widgets in the EditableListBox
This commit is contained in:
@@ -51,6 +51,31 @@ def run():
|
||||
factory=True)
|
||||
|
||||
|
||||
# These are not in the documented C++ API. Should they be?
|
||||
c.addCppMethod('wxListCtrl*', 'GetListCtrl', '()',
|
||||
doc="Returns a reference to the listctrl used in the EditableListBox.",
|
||||
body="return self->GetListCtrl();")
|
||||
|
||||
c.addCppMethod('wxBitmapButton*', 'GetDelButton', '()',
|
||||
doc="Returns a reference to the delete button used in the EditableListBox.",
|
||||
body="return self->GetDelButton();")
|
||||
|
||||
c.addCppMethod('wxBitmapButton*', 'GetNewButton', '()',
|
||||
doc="Returns a reference to the new button used in the EditableListBox.",
|
||||
body="return self->GetNewButton();")
|
||||
|
||||
c.addCppMethod('wxBitmapButton*', 'GetUpButton', '()',
|
||||
doc="Returns a reference to the up button used in the EditableListBox.",
|
||||
body="return self->GetUpButton();")
|
||||
|
||||
c.addCppMethod('wxBitmapButton*', 'GetDownButton', '()',
|
||||
doc="Returns a reference to the down button used in the EditableListBox.",
|
||||
body="return self->GetDownButton();")
|
||||
|
||||
c.addCppMethod('wxBitmapButton*', 'GetEditButton', '()',
|
||||
doc="Returns a reference to the edit button used in the EditableListBox.",
|
||||
body="return self->GetEditButton();")
|
||||
|
||||
#-----------------------------------------------------------------
|
||||
tools.doCommonTweaks(module)
|
||||
tools.runGenerators(module)
|
||||
|
||||
Reference in New Issue
Block a user