X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b80388aab65992f17788cb625f32dd82a3d3c28f..cc30c63a4cf2ee1ae991b584e2dec2cac6b7819a:/include/wx/cmdproc.h diff --git a/include/wx/cmdproc.h b/include/wx/cmdproc.h index de7d68429c..cc39b0f31f 100644 --- a/include/wx/cmdproc.h +++ b/include/wx/cmdproc.h @@ -26,7 +26,7 @@ class WXDLLEXPORT wxCommand : public wxObject { public: wxCommand(bool canUndoIt = false, const wxString& name = wxEmptyString); - ~wxCommand(){} + virtual ~wxCommand(){} // Override this to perform a command virtual bool Do() = 0;