]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tbarbase.h
Override CreateItem so wxListBox can turn its notifications into events.
[wxWidgets.git] / include / wx / tbarbase.h
index 44f022092bc0b5807fcaed86ccb93b6ee187ba80..8eb5f22af431d9643dfc4b7c1cbeaf8ccb2e215d 100644 (file)
@@ -32,7 +32,7 @@ class WXDLLEXPORT wxImage;
 // constants
 // ----------------------------------------------------------------------------
 
-extern WXDLLEXPORT_DATA(const wxChar*) wxToolBarNameStr;
+extern WXDLLEXPORT_DATA(const wxChar) wxToolBarNameStr[];
 extern WXDLLEXPORT_DATA(const wxSize) wxDefaultSize;
 extern WXDLLEXPORT_DATA(const wxPoint) wxDefaultPosition;
 
@@ -105,7 +105,7 @@ public:
         m_toolStyle = wxTOOL_STYLE_CONTROL;
     }
 
-    ~wxToolBarToolBase(){}
+    virtual ~wxToolBarToolBase(){}
 
     // accessors
     // ---------