#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"
public:
// ctor and dtor
LifeCanvas(wxWindow* parent, Life* life, bool interactive = true);
- ~LifeCanvas();
+ virtual ~LifeCanvas();
// view management
int GetCellSize() const { return m_cellsize; };
public:
// ctor and dtor
LifeFrame();
- ~LifeFrame();
+ virtual ~LifeFrame();
// member functions
void UpdateInfoText();