X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..9654efd3327fcb6b6e3d8d803ea80f08904f1197:/demos/life/life.h diff --git a/demos/life/life.h b/demos/life/life.h index 5dd43cf0b1..ea0007d77a 100644 --- a/demos/life/life.h +++ b/demos/life/life.h @@ -41,7 +41,7 @@ class LifeCanvas : public wxWindow public: // ctor and dtor LifeCanvas(wxWindow* parent, Life* life, bool interactive = true); - ~LifeCanvas(); + virtual ~LifeCanvas(); // view management int GetCellSize() const { return m_cellsize; }; @@ -122,7 +122,7 @@ class LifeFrame : public wxFrame public: // ctor and dtor LifeFrame(); - ~LifeFrame(); + virtual ~LifeFrame(); // member functions void UpdateInfoText();