X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c69a2ec864e94f58243500ca6d41c980b0fa4fe..41b2b34b1b163a621bb3aa3bc702f5b37cd45749:/wxPython/src/_toolbar.i?ds=sidebyside diff --git a/wxPython/src/_toolbar.i b/wxPython/src/_toolbar.i index 3180b8e515..629b1b2c36 100644 --- a/wxPython/src/_toolbar.i +++ b/wxPython/src/_toolbar.i @@ -325,8 +325,10 @@ public: %Rename(AddToolItem, wxToolBarToolBase*, AddTool (wxToolBarToolBase *tool)); %Rename(InsertToolItem, wxToolBarToolBase*, InsertTool (size_t pos, wxToolBarToolBase *tool)); - wxToolBarToolBase *AddControl(wxControl *control); - wxToolBarToolBase *InsertControl(size_t pos, wxControl *control); + wxToolBarToolBase *AddControl(wxControl *control, + const wxString& label = wxEmptyString); + wxToolBarToolBase *InsertControl(size_t pos, wxControl *control, + const wxString& label = wxEmptyString); wxControl *FindControl( int id ); wxToolBarToolBase *AddSeparator();