X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f6c54eb076d760cbb6fb15e899f15fbbd575850..994e41cb4d8c3e6a96459d096d671d00b9504586:/samples/png/pngdemo.h diff --git a/samples/png/pngdemo.h b/samples/png/pngdemo.h index c664e1a145..8267cecf60 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 +// Copyright: (c) Julian Smart // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined( __GNUG__) && !defined(__APPLE__) #pragma interface #endif @@ -19,7 +19,7 @@ class MyApp: public wxApp { public: - MyApp(void) ; + MyApp(void){}; bool OnInit(void); }; @@ -46,7 +46,7 @@ class MyCanvas: public wxScrolledWindow { public: MyCanvas(wxWindow *parent, const wxPoint& pos, const wxSize& size); - ~MyCanvas(void) ; + ~MyCanvas(void){}; void OnPaint(wxPaintEvent& event); DECLARE_EVENT_TABLE()