]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/menuitem.h
silenced Watcom warning when deleting const pointer
[wxWidgets.git] / include / wx / motif / menuitem.h
index 0a3011eafd036a2978d861e4df932d1ccb8dba5e..e9c6bc965d05158b1a7d26023cc4bcc911028efa 100644 (file)
@@ -30,7 +30,7 @@ public:
                const wxString& help = wxEmptyString,
                wxItemKind kind = wxITEM_NORMAL,
                wxMenu *subMenu = (wxMenu *)NULL);
-    ~wxMenuItem();
+    virtual ~wxMenuItem();
 
     // accessors (some more are inherited from wxOwnerDrawn or are below)
     virtual void SetText(const wxString& label);