]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/life/dialogs.h
Fix for assert in setting image from file by Jaakko Salli.
[wxWidgets.git] / demos / life / dialogs.h
index 723ff1c81d800866cc86eff331bdf7c03c56cb97..060eb67472bba75f8eba84840add96751f63defd 100644 (file)
 #ifndef _LIFE_DIALOGS_H_
 #define _LIFE_DIALOGS_H_
 
 #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"
 
 // 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);
 public:
     // ctor and dtor
     LifeSamplesDialog(wxWindow *parent);
-    ~LifeSamplesDialog();
+    virtual ~LifeSamplesDialog();
 
     // members
     const LifePattern& GetPattern();
 
     // members
     const LifePattern& GetPattern();