#ifndef _LIFE_DIALOGS_H_
#define _LIFE_DIALOGS_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "dialogs.h"
#endif
#include "wx/wx.h"
#endif
-#include "wx/spinctrl.h"
-
#include "life.h"
#include "game.h"
~LifeSamplesDialog();
// members
- const LifeShape& GetShape();
+ const LifePattern& GetPattern();
// event handlers
void OnListBox(wxCommandEvent &event);
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()
int m_value;
LifeAboutDialog(wxWindow *parent);
};
+
#endif // _LIFE_DIALOGS_H_