]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docview/doc.h
1. corrected problem with label updating in wxProgressDialog
[wxWidgets.git] / samples / docview / doc.h
index 55079678d43d90567ae8b537bfec211119254a75..2842a32315f9405c0656ce105d747c0a95c5bc19 100644 (file)
@@ -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; };