diff --git a/etg/editlbox.py b/etg/editlbox.py index 6dd767b8..c70eb69c 100644 --- a/etg/editlbox.py +++ b/etg/editlbox.py @@ -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)