X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e306597309a120f2ae91385c731a5cb2722c52aa..4c15b7aff2f65bbb2b63e7f4004bfe97e7cbd0e5:/samples/png/pngdemo.h?ds=sidebyside diff --git a/samples/png/pngdemo.h b/samples/png/pngdemo.h index e250aa69d2..66bb8354ee 100644 --- a/samples/png/pngdemo.h +++ b/samples/png/pngdemo.h @@ -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);