- DECLARE_DYNAMIC_CLASS(DrawingDocument)
- private:
- public:
- wxList doodleSegments;
-
- DrawingDocument(void);
- ~DrawingDocument(void);
-
- ostream& SaveObject(ostream& stream);
- istream& LoadObject(istream& stream);
-
- inline wxList& GetDoodleSegments(void) const { return (wxList&) doodleSegments; };
+ DECLARE_DYNAMIC_CLASS(DrawingDocument)
+private:
+public:
+ wxList doodleSegments;
+
+ DrawingDocument(void){};
+ ~DrawingDocument(void);
+
+#if wxUSE_STD_IOSTREAM
+ wxSTD ostream& SaveObject(wxSTD ostream& text_stream);
+ wxSTD istream& LoadObject(wxSTD istream& text_stream);
+#else
+ wxOutputStream& SaveObject(wxOutputStream& stream);
+ wxInputStream& LoadObject(wxInputStream& stream);
+#endif
+
+ inline wxList& GetDoodleSegments(void) const { return (wxList&) doodleSegments; };