X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..e8332ccfe0cf1653b257d46d5c41339e2b2da438:/contrib/include/wx/ogl/ogldiag.h?ds=sidebyside diff --git a/contrib/include/wx/ogl/ogldiag.h b/contrib/include/wx/ogl/ogldiag.h index 7a593f2466..eb31799330 100644 --- a/contrib/include/wx/ogl/ogldiag.h +++ b/contrib/include/wx/ogl/ogldiag.h @@ -6,7 +6,7 @@ // Created: 12/07/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _OGL_OGLDIAG_H_ @@ -16,9 +16,14 @@ #pragma interface "ogldiag.h" #endif -#include +#include "wx/ogl/basic.h" -class wxDiagram: public wxObject +#if wxUSE_PROLOGIO +#include +#endif + + +class WXDLLIMPEXP_OGL wxDiagram: public wxObject { DECLARE_DYNAMIC_CLASS(wxDiagram) @@ -62,7 +67,7 @@ public: inline void SetMouseTolerance(int tol) { m_mouseTolerance = tol; } inline int GetMouseTolerance() const { return m_mouseTolerance; } inline wxList *GetShapeList() const { return m_shapeList; } - inline int GetCount() const { return m_shapeList->Number(); } + inline int GetCount() const { return m_shapeList->GetCount(); } // Make sure all text that should be centred, is centred. void RecentreAll(wxDC& dc); @@ -93,7 +98,7 @@ protected: wxList* m_shapeList; }; -class wxLineCrossing: public wxObject +class WXDLLIMPEXP_OGL wxLineCrossing: public wxObject { public: wxLineCrossing() { m_lineShape1 = NULL; m_lineShape2 = NULL; } @@ -106,7 +111,7 @@ public: wxLineShape* m_lineShape2; }; -class wxLineCrossings: public wxObject +class WXDLLIMPEXP_OGL wxLineCrossings: public wxObject { public: wxLineCrossings();