X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c631abdae995a4ceae512d7853f6424fbfb27e83..44893b87abdc8df271363b08a5d1b57cf7e4e04c:/include/wx/tbarbase.h diff --git a/include/wx/tbarbase.h b/include/wx/tbarbase.h index 7899208435..dfa4dcb40d 100644 --- a/include/wx/tbarbase.h +++ b/include/wx/tbarbase.h @@ -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();