X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b80388aab65992f17788cb625f32dd82a3d3c28f..3ac1094bead05e30462122d00e4859725d2ea59f:/include/wx/cmdproc.h?ds=sidebyside 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;