X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0a4029251c1d80d50f9cb0bd152d1fca7914bc4..2943e582f25ab22c02b609ea86d7ef6e85e475f0:/demos/life/dialogs.h?ds=sidebyside diff --git a/demos/life/dialogs.h b/demos/life/dialogs.h index 95c266eb83..f5ebd0a32c 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,7 +44,7 @@ public: ~LifeSamplesDialog(); // members - const LifeShape& GetShape(); + const LifePattern& GetPattern(); // event handlers void OnListBox(wxCommandEvent &event); @@ -73,4 +71,5 @@ public: LifeAboutDialog(wxWindow *parent); }; + #endif // _LIFE_DIALOGS_H_