#ifndef _OGL_COMPOSIT_H_
#define _OGL_COMPOSIT_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "composit.h"
#endif
-class wxDivisionShape;
-class wxOGLConstraint;
+
+class WXDLLIMPEXP_OGL wxDivisionShape;
+class WXDLLIMPEXP_OGL wxOGLConstraint;
/*
* A composite object is an invisible rectangle surrounding all children
*
*/
-class wxCompositeShape: public wxRectangleShape
+class WXDLLIMPEXP_OGL wxCompositeShape: public wxRectangleShape
{
DECLARE_DYNAMIC_CLASS(wxCompositeShape)
public:
// Calculates size and position of composite object based on children
void CalculateSize();
-#ifdef PROLOGIO
+#if wxUSE_PROLOGIO
void WriteAttributes(wxExpr *clause);
void ReadAttributes(wxExpr *clause);
// In case the object has constraints it needs to read in in a different pass
#define DIVISION_SIDE_RIGHT 3
#define DIVISION_SIDE_BOTTOM 4
-class wxDivisionShape: public wxCompositeShape
+class WXDLLIMPEXP_OGL wxDivisionShape: public wxCompositeShape
{
DECLARE_DYNAMIC_CLASS(wxDivisionShape)
public:
void MakeMandatoryControlPoints();
void ResetMandatoryControlPoints();
-#ifdef PROLOGIO
+#if wxUSE_PROLOGIO
void WriteAttributes(wxExpr *clause);
void ReadAttributes(wxExpr *clause);
#endif