]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cmdproc.h
added macros to avoid code repetition when defining comparison operators; use them...
[wxWidgets.git] / include / wx / cmdproc.h
index de7d68429c7525d40e189ac6d41d2f7d751f98c4..cc39b0f31f87834e51031cfb9971be435caff4cf 100644 (file)
@@ -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;