]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/tbar95.h
don't hardcode 16/32 as sizes for small/normal icons (fixes bug 1862812)
[wxWidgets.git] / include / wx / msw / tbar95.h
index daa168e3d63a4d0828abb4d64f0f34e7a9e612be..92fcfd7bcd76d82b5dee6e113aefcce0fe2515e8 100644 (file)
@@ -54,6 +54,9 @@ public:
 
     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
     // -------------------------------
 
@@ -75,6 +78,9 @@ public:
 
     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();
@@ -101,7 +107,9 @@ protected:
                                           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;