X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..9654efd3327fcb6b6e3d8d803ea80f08904f1197:/demos/life/dialogs.h diff --git a/demos/life/dialogs.h b/demos/life/dialogs.h index f5ebd0a32c..060eb67472 100644 --- a/demos/life/dialogs.h +++ b/demos/life/dialogs.h @@ -12,10 +12,6 @@ #ifndef _LIFE_DIALOGS_H_ #define _LIFE_DIALOGS_H_ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "dialogs.h" -#endif - // for compilers that support precompilation, includes "wx/wx.h" #include "wx/wxprec.h" @@ -41,7 +37,7 @@ class LifeSamplesDialog : public wxDialog public: // ctor and dtor LifeSamplesDialog(wxWindow *parent); - ~LifeSamplesDialog(); + virtual ~LifeSamplesDialog(); // members const LifePattern& GetPattern(); @@ -50,7 +46,7 @@ public: 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;