#ifndef _OGL_CANVAS_H_
#define _OGL_CANVAS_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "canvas.h"
#endif
+
// Drag states
#define NoDragging 0
#define StartDraggingLeft 1
#define StartDraggingRight 3
#define ContinueDraggingRight 4
-extern wxChar* wxShapeCanvasNameStr;
+WXDLLIMPEXP_OGL extern const wxChar* wxShapeCanvasNameStr;
// When drag_count reaches 0, process drag message
-class wxDiagram;
+class WXDLLIMPEXP_OGL wxDiagram;
-class wxShapeCanvas: public wxScrolledWindow
+class WXDLLIMPEXP_OGL wxShapeCanvas: public wxScrolledWindow
{
DECLARE_DYNAMIC_CLASS(wxShapeCanvas)
public: