#ifndef _OGLSAMPLE_DOC_H_
#define _OGLSAMPLE_DOC_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
// #pragma interface
#endif
#include <wx/docview.h>
+#include <wx/cmdproc.h>
#include <wx/string.h>
-#include <wx/wxexpr.h>
+#include <wx/deprecated/setup.h>
+#include <wx/deprecated/wxexpr.h>
#include <wx/ogl/ogl.h>
#if wxUSE_STD_IOSTREAM
-class ostream;
-class istream;
+ #include <iosfwd>
#endif
/*
~DiagramDocument(void);
#if wxUSE_STD_IOSTREAM
- virtual ostream& SaveObject(ostream& stream);
- virtual istream& LoadObject(istream& stream);
+ virtual wxSTD ostream& SaveObject(wxSTD ostream& stream);
+ virtual wxSTD istream& LoadObject(wxSTD istream& stream);
#else
virtual wxOutputStream& SaveObject(wxOutputStream& stream);
virtual wxInputStream& LoadObject(wxInputStream& stream);