X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..ac7d3dd1578d298a301638b7ef862f1e308321d0:/include/wx/mac/classic/toolbar.h diff --git a/include/wx/mac/classic/toolbar.h b/include/wx/mac/classic/toolbar.h index b94f2c7f25..7cc0f7ebe7 100644 --- a/include/wx/mac/classic/toolbar.h +++ b/include/wx/mac/classic/toolbar.h @@ -17,7 +17,7 @@ #include "wx/tbarbase.h" #include "wx/dynarray.h" -WXDLLEXPORT_DATA(extern const wxChar*) wxToolBarNameStr; +WXDLLEXPORT_DATA(extern const wxChar) wxToolBarNameStr[]; class WXDLLEXPORT wxToolBar: public wxToolBarBase { @@ -38,7 +38,7 @@ class WXDLLEXPORT wxToolBar: public wxToolBarBase Init(); Create(parent, id, pos, size, style, name); } - ~wxToolBar(); + virtual ~wxToolBar(); bool Create(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxNO_BORDER|wxTB_HORIZONTAL,