]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/life/dialogs.h
Update version to 2.9.4 in version.bkl too and rebake everything.
[wxWidgets.git] / demos / life / dialogs.h
index e41e45953c65d3e97368a81ecb5b09bf87a69c52..5a44246c90ae307aa6626e7929bf5117740f24bb 100644 (file)
 #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,7 +25,7 @@ class LifeSamplesDialog : public wxDialog
 public:
     // ctor and dtor
     LifeSamplesDialog(wxWindow *parent);
-    ~LifeSamplesDialog();
+    virtual ~LifeSamplesDialog();
 
     // members
     const LifePattern& GetPattern();
@@ -50,7 +34,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;