]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/toolbar.h
match CFTypeRef declaration to the one in defs.h
[wxWidgets.git] / include / wx / mac / carbon / toolbar.h
index 7673d04a43e8a71e19f1b99f47509dd3b6510866..95987b58a09c649ff59600d52a88edd30a9aef56 100644 (file)
@@ -17,7 +17,7 @@
 #include "wx/tbarbase.h"
 #include "wx/dynarray.h"
 
-WXDLLEXPORT_DATA(extern const wxChar) wxToolBarNameStr[];
+WXDLLEXPORT_DATA(extern const char) wxToolBarNameStr[];
 
 class WXDLLEXPORT wxToolBar: public wxToolBarBase
 {
@@ -93,7 +93,8 @@ protected:
                                           wxObject *clientData,
                                           const wxString& shortHelp,
                                           const wxString& longHelp);
-    virtual wxToolBarToolBase *CreateTool(wxControl *control);
+    virtual wxToolBarToolBase *CreateTool(wxControl *control,
+                                          const wxString& label);
 
     DECLARE_EVENT_TABLE()
 #if wxMAC_USE_NATIVE_TOOLBAR