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