X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/29b07a3821efad89112a5a250fee09f2577658fe..b02dd12239c8a59b9a545d9fcb04974f8ad02c6b:/demos/life/dialogs.h diff --git a/demos/life/dialogs.h b/demos/life/dialogs.h index b2187cb0c3..5a44246c90 100644 --- a/demos/life/dialogs.h +++ b/demos/life/dialogs.h @@ -12,22 +12,6 @@ #ifndef _LIFE_DIALOGS_H_ #define _LIFE_DIALOGS_H_ -#ifdef __GNUG__ - #pragma interface "dialogs.h" -#endif - -// for compilers that support precompilation, includes "wx/wx.h" -#include "wx/wxprec.h" - -#ifdef __BORLANDC__ - #pragma hdrstop -#endif - -// for all others, include the necessary headers -#ifndef WX_PRECOMP - #include "wx/wx.h" -#endif - #include "life.h" #include "game.h" @@ -41,16 +25,16 @@ class LifeSamplesDialog : public wxDialog public: // ctor and dtor LifeSamplesDialog(wxWindow *parent); - ~LifeSamplesDialog(); + virtual ~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;