X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/29b07a3821efad89112a5a250fee09f2577658fe..b0b96f667dbc2fc2d3ebaa342c50bdea10f84a91:/demos/life/dialogs.h diff --git a/demos/life/dialogs.h b/demos/life/dialogs.h index b2187cb0c3..060eb67472 100644 --- a/demos/life/dialogs.h +++ b/demos/life/dialogs.h @@ -12,10 +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" @@ -41,16 +37,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;