X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..5be7e07a3f432da34b98b90d16b4bd913ef8fd9c:/contrib/include/wx/ogl/linesp.h?ds=sidebyside diff --git a/contrib/include/wx/ogl/linesp.h b/contrib/include/wx/ogl/linesp.h index ffe08df3ce..0a7d81499f 100644 --- a/contrib/include/wx/ogl/linesp.h +++ b/contrib/include/wx/ogl/linesp.h @@ -6,21 +6,18 @@ // 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_ -#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 +48,8 @@ public: /* * Temporary arc label object */ - -class wxLabelShape: public wxRectangleShape + +class WXDLLIMPEXP_OGL wxLabelShape: public wxRectangleShape { DECLARE_DYNAMIC_CLASS(wxLabelShape) @@ -67,7 +64,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;