X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b80388aab65992f17788cb625f32dd82a3d3c28f..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/cmdproc.h diff --git a/include/wx/cmdproc.h b/include/wx/cmdproc.h index de7d68429c..ef5929870f 100644 --- a/include/wx/cmdproc.h +++ b/include/wx/cmdproc.h @@ -16,7 +16,7 @@ #include "wx/object.h" #include "wx/list.h" -class WXDLLEXPORT wxMenu; +class WXDLLIMPEXP_FWD_CORE wxMenu; // ---------------------------------------------------------------------------- // wxCommand: a single command capable of performing itself @@ -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;