X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..7f5d8b0085b0140f62fb49dd8a0e50ed895e4632:/contrib/include/wx/ogl/ogldiag.h diff --git a/contrib/include/wx/ogl/ogldiag.h b/contrib/include/wx/ogl/ogldiag.h index afe7db18c4..7a1b807b95 100644 --- a/contrib/include/wx/ogl/ogldiag.h +++ b/contrib/include/wx/ogl/ogldiag.h @@ -16,9 +16,13 @@ #pragma interface "ogldiag.h" #endif -#include -class wxDiagram: public wxObject +#if wxUSE_PROLOGIO +#include +#endif + + +class WXDLLIMPEXP_OGL wxDiagram: public wxObject { DECLARE_DYNAMIC_CLASS(wxDiagram) @@ -62,12 +66,12 @@ 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); -#ifdef PROLOGIO +#if wxUSE_PROLOGIO virtual bool SaveFile(const wxString& filename); virtual bool LoadFile(const wxString& filename); @@ -93,7 +97,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 +110,7 @@ public: wxLineShape* m_lineShape2; }; -class wxLineCrossings: public wxObject +class WXDLLIMPEXP_OGL wxLineCrossings: public wxObject { public: wxLineCrossings();