X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ba06d5a8ccf8c224fcfbd52fa01a55abf7befbd..e77138c0e2871600956d3186ce046454a6fbce21:/contrib/samples/ogl/studio/shapes.h diff --git a/contrib/samples/ogl/studio/shapes.h b/contrib/samples/ogl/studio/shapes.h index 2e959dff4d..dbda6fa11f 100644 --- a/contrib/samples/ogl/studio/shapes.h +++ b/contrib/samples/ogl/studio/shapes.h @@ -12,16 +12,9 @@ #ifndef _STUDIO_SHAPES_H_ #define _STUDIO_SHAPES_H_ -#if defined(__GNUG__) && !defined(__APPLE__) -// #pragma interface -#endif - #include #include -#include -#include - -#include +#include // base header of OGL, includes and adjusts wx/deprecated/setup.h #include #include #include @@ -31,15 +24,17 @@ class csDiagramDocument; /* * Override a few members for this application */ - + class csDiagram: public wxDiagram { DECLARE_CLASS(csDiagram) public: csDiagram(csDiagramDocument* doc) { m_doc = doc; } ~csDiagram(); +#if wxUSE_PROLOGIO bool OnShapeSave(wxExprDatabase& db, wxShape& shape, wxExpr& expr); bool OnShapeLoad(wxExprDatabase& db, wxShape& shape, wxExpr& expr); +#endif // wxUSE_PROLOGIO inline csDiagramDocument* GetDocument() const { return m_doc; } virtual void Redraw(wxDC& dc); @@ -206,7 +201,7 @@ public: /* * Temporary arc label object */ - + class csLabelShape: public wxLabelShape { DECLARE_DYNAMIC_CLASS(csLabelShape)