X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0a4029251c1d80d50f9cb0bd152d1fca7914bc4..b08cd3bf53901e3180e0ee60376807563c828495:/demos/life/dialogs.h diff --git a/demos/life/dialogs.h b/demos/life/dialogs.h index 95c266eb83..723ff1c81d 100644 --- a/demos/life/dialogs.h +++ b/demos/life/dialogs.h @@ -12,7 +12,7 @@ #ifndef _LIFE_DIALOGS_H_ #define _LIFE_DIALOGS_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dialogs.h" #endif @@ -28,8 +28,6 @@ #include "wx/wx.h" #endif -#include "wx/spinctrl.h" - #include "life.h" #include "game.h" @@ -46,13 +44,13 @@ public: ~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; @@ -73,4 +71,5 @@ public: LifeAboutDialog(wxWindow *parent); }; + #endif // _LIFE_DIALOGS_H_