X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5d2ac6b8c652a4aac703ba03f143820e978b33d4..9654efd3327fcb6b6e3d8d803ea80f08904f1197:/demos/life/life.h diff --git a/demos/life/life.h b/demos/life/life.h index 9e06260115..ea0007d77a 100644 --- a/demos/life/life.h +++ b/demos/life/life.h @@ -12,10 +12,6 @@ #ifndef _LIFE_APP_H_ #define _LIFE_APP_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "life.h" -#endif - // for compilers that support precompilation, includes "wx/wx.h" #include "wx/wxprec.h" @@ -45,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; }; @@ -126,7 +122,7 @@ class LifeFrame : public wxFrame public: // ctor and dtor LifeFrame(); - ~LifeFrame(); + virtual ~LifeFrame(); // member functions void UpdateInfoText();