Added wxToolBar::FindControl() to fish out

controls in a toolbar by its id.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-05-31 10:00:24 +00:00
parent f89a1397df
commit fba2d5e694
2 changed files with 21 additions and 0 deletions

View File

@@ -329,6 +329,9 @@ public:
// NB: the control should have toolbar as its parent
virtual wxToolBarToolBase *AddControl(wxControl *control);
virtual wxToolBarToolBase *InsertControl(size_t pos, wxControl *control);
// get the control with the given id or return NULL
virtual wxControl *FindControl( int id );
// add a separator to the toolbar
virtual wxToolBarToolBase *AddSeparator();