X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/925f7740663f38ed8296ddb247754a9d62152aea..d23bf09c7fbbe4f026d61043e55c81cfc4a6bef2:/include/wx/motif/menuitem.h?ds=sidebyside

diff --git a/include/wx/motif/menuitem.h b/include/wx/motif/menuitem.h
index 0a3011eafd..e9c6bc965d 100644
--- a/include/wx/motif/menuitem.h
+++ b/include/wx/motif/menuitem.h
@@ -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);