]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/png/pngdemo.h
Added some missing brackets required by autoconf on OS2.
[wxWidgets.git] / samples / png / pngdemo.h
index e250aa69d281733576b9ff85ceaa7e539c136450..66bb8354ee3a8a9165c6f0f5c469ff2976f69140 100644 (file)
@@ -5,11 +5,11 @@
 // Modified by:
 // Created:     01/02/97
 // RCS-ID:      $Id$
-// Copyright:   (c) Julian Smart and Markus Holzem
-// Licence:    wxWindows license
+// Copyright:   (c) Julian Smart
+// Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined( __GNUG__) && !defined(__APPLE__)
 #pragma interface
 #endif
 
@@ -31,6 +31,7 @@ class MyFrame: public wxFrame
   public:
     MyCanvas *canvas;
     MyFrame(wxFrame *parent, const wxString& title, const wxPoint& pos, const wxSize& size);
+    virtual ~MyFrame();
 
     void OnActivate(bool) {}
     void OnLoadFile(wxCommandEvent& event);