X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fc25a89ac1e6c5208db24bfc0abc8666b791dc6..e8332ccfe0cf1653b257d46d5c41339e2b2da438:/contrib/include/wx/ogl/linesp.h?ds=inline diff --git a/contrib/include/wx/ogl/linesp.h b/contrib/include/wx/ogl/linesp.h index 383fe7f554..7faca5b7c0 100644 --- a/contrib/include/wx/ogl/linesp.h +++ b/contrib/include/wx/ogl/linesp.h @@ -6,21 +6,22 @@ // Created: 12/07/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _OGL_LINESP_H_ #define _OGL_LINESP_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "linesp.h" #endif -class wxLineShape; -class wxLineControlPoint: public wxControlPoint + +class WXDLLIMPEXP_OGL wxLineShape; +class WXDLLIMPEXP_OGL wxLineControlPoint: public wxControlPoint { DECLARE_DYNAMIC_CLASS(wxLineControlPoint) - friend class wxLineShape; + friend class WXDLLIMPEXP_OGL wxLineShape; public: wxLineControlPoint(wxShapeCanvas *the_canvas = NULL, wxShape *object = NULL, double size = 0.0, @@ -51,8 +52,8 @@ public: /* * Temporary arc label object */ - -class wxLabelShape: public wxRectangleShape + +class WXDLLIMPEXP_OGL wxLabelShape: public wxRectangleShape { DECLARE_DYNAMIC_CLASS(wxLabelShape) @@ -67,7 +68,7 @@ class wxLabelShape: public wxRectangleShape void OnDragLeft(bool draw, double x, double y, int keys=0, int attachment = 0); void OnBeginDragLeft(double x, double y, int keys=0, int attachment = 0); void OnEndDragLeft(double x, double y, int keys=0, int attachment = 0); - bool OnMovePre(wxDC& dc, double x, double y, double old_x, double old_y, bool display = TRUE); + bool OnMovePre(wxDC& dc, double x, double y, double old_x, double old_y, bool display = true); public: wxLineShape* m_lineShape;