void SetNormalBitmap(const wxBitmap& bmp) { m_bmpNormal = bmp; }
void SetDisabledBitmap(const wxBitmap& bmp) { m_bmpDisabled = bmp; }
- void SetLabel(const wxString& label) { m_label = label; }
+ virtual void SetLabel(const wxString& label) { m_label = label; }
void SetClientData(wxObject *clientData)
{
// 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();