X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fc25a89ac1e6c5208db24bfc0abc8666b791dc6..59455c67d444c12f6d6a59e0c16528554c8b4c30:/contrib/samples/ogl/studio/shapes.h diff --git a/contrib/samples/ogl/studio/shapes.h b/contrib/samples/ogl/studio/shapes.h index fa183b46bb..117721dfbe 100644 --- a/contrib/samples/ogl/studio/shapes.h +++ b/contrib/samples/ogl/studio/shapes.h @@ -12,13 +12,14 @@ #ifndef _STUDIO_SHAPES_H_ #define _STUDIO_SHAPES_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) // #pragma interface #endif #include #include -#include +#include +#include #include #include @@ -225,7 +226,7 @@ class csEvtHandler: public wxShapeEvtHandler { DECLARE_DYNAMIC_CLASS(csEvtHandler) public: - csEvtHandler(wxShapeEvtHandler *prev = NULL, wxShape *shape = NULL, const wxString& lab = ""); + csEvtHandler(wxShapeEvtHandler *prev = NULL, wxShape *shape = NULL, const wxString& lab = wxEmptyString); ~csEvtHandler(); void OnLeftClick(double x, double y, int keys = 0, int attachment = 0);