X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c9955d147ed92cdd79d795ed94d6e03fca06a52..35cb486ae02b9edb2a142f80fe362e29b1496298:/contrib/samples/ogl/studio/doc.h diff --git a/contrib/samples/ogl/studio/doc.h b/contrib/samples/ogl/studio/doc.h index e9aca18564..ce1e3a7b86 100644 --- a/contrib/samples/ogl/studio/doc.h +++ b/contrib/samples/ogl/studio/doc.h @@ -6,7 +6,7 @@ // Created: 12/07/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _STUDIO_DOC_H_ @@ -20,16 +20,14 @@ #include #include -#include -#include +#include // base header of OGL, includes and adjusts wx/deprecated/setup.h -#include #include "shapes.h" /* * A diagram document, which contains a diagram. */ - + class csDiagramDocument: public wxDocument { DECLARE_DYNAMIC_CLASS(csDiagramDocument) @@ -37,11 +35,13 @@ public: csDiagramDocument(); ~csDiagramDocument(); +#if wxUSE_PROLOGIO bool OnSaveDocument(const wxString& file); bool OnOpenDocument(const wxString& file); - +#endif // wxUSE_PROLOGIO + inline wxDiagram *GetDiagram() { return &m_diagram; } - + bool OnCloseDocument(); protected: @@ -71,7 +71,7 @@ protected: */ - + class csCommandState; class csDiagramCommand: public wxCommand {