#ifndef _LIFE_APP_H_
#define _LIFE_APP_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "life.h"
#endif
{
public:
// ctor and dtor
- LifeCanvas(wxWindow* parent, Life* life, bool interactive = TRUE);
+ LifeCanvas(wxWindow* parent, Life* life, bool interactive = true);
~LifeCanvas();
// view management
void DrawCell(wxInt32 i, wxInt32 j, bool alive);
private:
- // any class wishing to process wxWindows events must use this macro
+ // any class wishing to process wxWidgets events must use this macro
DECLARE_EVENT_TABLE()
// draw a cell (parametrized by DC)
LifeNavigator(wxWindow *parent);
private:
- // any class wishing to process wxWindows events must use this macro
+ // any class wishing to process wxWidgets events must use this macro
DECLARE_EVENT_TABLE()
// event handlers
void UpdateUI();
private:
- // any class wishing to process wxWindows events must use this macro
+ // any class wishing to process wxWidgets events must use this macro
DECLARE_EVENT_TABLE()
// event handlers