#pragma interface "ogldiag.h"
#endif
-#include <wx/ogl/basic.h>
-class wxDiagram: public wxObject
+#if wxUSE_PROLOGIO
+#include <wx/deprecated/wxexpr.h>
+#endif
+
+
+class WXDLLIMPEXP_OGL wxDiagram: public wxObject
{
DECLARE_DYNAMIC_CLASS(wxDiagram)
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);
wxList* m_shapeList;
};
-class wxLineCrossing: public wxObject
+class WXDLLIMPEXP_OGL wxLineCrossing: public wxObject
{
public:
wxLineCrossing() { m_lineShape1 = NULL; m_lineShape2 = NULL; }
wxLineShape* m_lineShape2;
};
-class wxLineCrossings: public wxObject
+class WXDLLIMPEXP_OGL wxLineCrossings: public wxObject
{
public:
wxLineCrossings();