virtual void SetRows(int nRows);
+ virtual void SetToolNormalBitmap(int id, const wxBitmap& bitmap);
+ virtual void SetToolDisabledBitmap(int id, const wxBitmap& bitmap);
+
// implementation only from now on
// -------------------------------
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
+ // returns true if the platform should explicitly apply a theme border
+ virtual bool CanApplyThemeBorder() const { return false; }
+
protected:
// common part of all ctors
void Init();
wxObject *clientData,
const wxString& shortHelp,
const wxString& longHelp);
- virtual wxToolBarToolBase *CreateTool(wxControl *control);
+
+ virtual wxToolBarToolBase *CreateTool(wxControl *control,
+ const wxString& label);
// return the appropriate size and flags for the toolbar control
virtual wxSize DoGetBestSize() const;
// unneeded
void CreateDisabledImageList();
+ // get the Windows toolbar style of this control
+ long GetMSWToolbarStyle() const;
+
// the big bitmap containing all bitmaps of the toolbar buttons
WXHBITMAP m_hBitmap;