]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tbarbase.h
Updated the mask
[wxWidgets.git] / include / wx / tbarbase.h
index 582fb2da81a80575fafb7e2173db930b7b3e9886..b9febfbc3e2522bc7c5e98211178768bd0e5c5d9 100644 (file)
@@ -76,7 +76,7 @@ public:
         m_tbar = tbar;
         m_id = toolid;
         if (m_id == wxID_ANY)
-            m_id = wxWindow::NewControlId();
+            m_id = wxNewId();
         m_clientData = clientData;
 
         m_bmpNormal = bmpNormal;
@@ -372,6 +372,12 @@ public:
     virtual void SetToolLongHelp(int toolid, const wxString& helpString);
     virtual wxString GetToolLongHelp(int toolid) const;
 
+    virtual void SetToolNormalBitmap(int WXUNUSED(id),
+                                     const wxBitmap& WXUNUSED(bitmap)) {}
+    virtual void SetToolDisabledBitmap(int WXUNUSED(id),
+                                       const wxBitmap& WXUNUSED(bitmap)) {}
+
+    
     // margins/packing/separation
     // --------------------------