]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/png/pngdemo.h
test for the bug with showing a modeless dialog from a modal one in wxGTK
[wxWidgets.git] / samples / png / pngdemo.h
index e250aa69d281733576b9ff85ceaa7e539c136450..5653a14074a70c9403cedd6337844f16b22997d8 100644 (file)
@@ -6,10 +6,10 @@
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart and Markus Holzem
-// Licence:    wxWindows license
+// 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);