X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..5f9e369af0c834bbde0f7f5d2047abd736967f58:/demos/life/life.h diff --git a/demos/life/life.h b/demos/life/life.h index 5dd43cf0b1..fd9b1bb0b5 100644 --- a/demos/life/life.h +++ b/demos/life/life.h @@ -4,7 +4,6 @@ // Author: Guillermo Rodriguez Garcia, // Modified by: // Created: Jan/2000 -// RCS-ID: $Id$ // Copyright: (c) 2000, Guillermo Rodriguez Garcia // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -12,18 +11,6 @@ #ifndef _LIFE_APP_H_ #define _LIFE_APP_H_ -// for compilers that support precompilation, includes "wx/wx.h" -#include "wx/wxprec.h" - -#ifdef __BORLANDC__ - #pragma hdrstop -#endif - -// for all others, include the necessary headers -#ifndef WX_PRECOMP - #include "wx/wx.h" -#endif - #include "wx/minifram.h" #include "game.h" @@ -41,7 +28,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 +109,7 @@ class LifeFrame : public wxFrame public: // ctor and dtor LifeFrame(); - ~LifeFrame(); + virtual ~LifeFrame(); // member functions void UpdateInfoText();