X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/29b07a3821efad89112a5a250fee09f2577658fe..61c213fe224da24ce33c9187263e75a17ca83a04:/demos/life/dialogs.h?ds=sidebyside diff --git a/demos/life/dialogs.h b/demos/life/dialogs.h index b2187cb0c3..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 @@ -44,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;