X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/48468900108e7228d5438179c73acaf4fe4b04d6..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/gtk/tbargtk.h diff --git a/include/wx/gtk/tbargtk.h b/include/wx/gtk/tbargtk.h index 28fc7ee00b..279f5e924e 100644 --- a/include/wx/gtk/tbargtk.h +++ b/include/wx/gtk/tbargtk.h @@ -52,9 +52,12 @@ public: virtual void SetWindowStyleFlag( long style ); + virtual void SetToolNormalBitmap(int id, const wxBitmap& bitmap); + virtual void SetToolDisabledBitmap(int id, const wxBitmap& bitmap); + static wxVisualAttributes GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); - + // implementation from now on // -------------------------- @@ -72,7 +75,7 @@ protected: void GtkSetStyle(); virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; - + // implement base class pure virtuals virtual bool DoInsertTool(size_t pos, wxToolBarToolBase *tool); virtual bool DoDeleteTool(size_t pos, wxToolBarToolBase *tool); @@ -89,7 +92,8 @@ protected: wxObject *clientData, const wxString& shortHelpString, const wxString& longHelpString); - virtual wxToolBarToolBase *CreateTool(wxControl *control); + virtual wxToolBarToolBase *CreateTool(wxControl *control, + const wxString& label); private: DECLARE_DYNAMIC_CLASS(wxToolBar)