]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/toolbar.h
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / include / wx / motif / toolbar.h
index f7864c43afb6f573afd47ccdcea243a02b25fb33..fdb2e95681ef1a72023d1454d783a467b706603d 100644 (file)
@@ -66,12 +66,13 @@ protected:
     virtual void DoSetToggle(wxToolBarToolBase *tool, bool toggle);
     
     virtual wxToolBarToolBase *CreateTool(int id,
-        const wxBitmap& bitmap1,
-        const wxBitmap& bitmap2,
-        bool toggle,
-        wxObject *clientData,
-        const wxString& shortHelpString,
-        const wxString& longHelpString);
+                                          const wxString& label,
+                                          const wxBitmap& bmpNormal,
+                                          const wxBitmap& bmpDisabled,
+                                          wxItemKind kind,
+                                          wxObject *clientData,
+                                          const wxString& shortHelp,
+                                          const wxString& longHelp);
     virtual wxToolBarToolBase *CreateTool(wxControl *control);
     
 private: