X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf7a7e133be36522ec3afd0417f1d2bd860b4f6c..bf60426831535738b1b784629f08e9dd00bf9ecc:/samples/png/pngdemo.h diff --git a/samples/png/pngdemo.h b/samples/png/pngdemo.h index eef3432f11..5653a14074 100644 --- a/samples/png/pngdemo.h +++ b/samples/png/pngdemo.h @@ -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,8 +31,8 @@ class MyFrame: public wxFrame public: MyCanvas *canvas; MyFrame(wxFrame *parent, const wxString& title, const wxPoint& pos, const wxSize& size); + virtual ~MyFrame(); - bool OnClose(void); void OnActivate(bool) {} void OnLoadFile(wxCommandEvent& event); void OnSaveFile(wxCommandEvent& event);