X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/56d7679d3ef0bf4d761d791df00ce17ecd662014..6cc24024d67eb04ee9da7639c8c6dce40cf644fb:/samples/docview/doc.h diff --git a/samples/docview/doc.h b/samples/docview/doc.h index 55079678d4..2842a32315 100644 --- a/samples/docview/doc.h +++ b/samples/docview/doc.h @@ -40,11 +40,11 @@ class DoodleSegment: public wxObject void Draw(wxDC *dc); #if wxUSE_STD_IOSTREAM - ostream& SaveObject(ostream& stream); - istream& LoadObject(istream& stream); + ostream& SaveObject(ostream& text_stream); + istream& LoadObject(istream& text_stream); #else - bool SaveObject(wxOutputStream& stream); - bool LoadObject(wxInputStream& stream); + wxOutputStream& SaveObject(wxOutputStream& stream); + wxInputStream& LoadObject(wxInputStream& stream); #endif }; @@ -60,11 +60,11 @@ class DrawingDocument: public wxDocument ~DrawingDocument(void); #if wxUSE_STD_IOSTREAM - ostream& SaveObject(ostream& stream); - istream& LoadObject(istream& stream); + ostream& SaveObject(ostream& text_stream); + istream& LoadObject(istream& text_stream); #else - bool SaveObject(wxOutputStream& stream); - bool LoadObject(wxInputStream& stream); + wxOutputStream& SaveObject(wxOutputStream& stream); + wxInputStream& LoadObject(wxInputStream& stream); #endif inline wxList& GetDoodleSegments(void) const { return (wxList&) doodleSegments; };