%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();
long style = wxNO_BORDER | wxTB_HORIZONTAL,
const wxString& name = wxPyToolBarNameStr);
+ // TODO: In 2.9 move these to the base class...
+ void SetToolNormalBitmap(int id, const wxBitmap& bitmap);
+ void SetToolDisabledBitmap(int id, const wxBitmap& bitmap);
+
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
};