// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "tbarbase.h"
#endif
// short and long help strings
wxString m_shortHelpString;
wxString m_longHelpString;
+
+ DECLARE_NO_COPY_CLASS(wxToolBarToolBase)
};
// a list of toolbar tools
// 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();