]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cmdproc.h
Fixed ReadLine missing last character from text files with no final newline.
[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;