X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b80388aab65992f17788cb625f32dd82a3d3c28f..67393addd823ea1a9b653a93c8554e7fd013ecfa:/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;