// Created: 04/01/98
// RCS-ID: $Id$
// Copyright: (c) Julian Smart and Markus Holzem
-// Licence: wxWindows license
+// Licence: wxWindows license
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
}
#if wxUSE_STD_IOSTREAM
-ostream& DrawingDocument::SaveObject(ostream& stream)
+wxSTD ostream& DrawingDocument::SaveObject(wxSTD ostream& stream)
{
wxDocument::SaveObject(stream);
#endif
#if wxUSE_STD_IOSTREAM
-istream& DrawingDocument::LoadObject(istream& stream)
+wxSTD istream& DrawingDocument::LoadObject(wxSTD istream& stream)
{
wxDocument::LoadObject(stream);
}
#if wxUSE_STD_IOSTREAM
-ostream& DoodleSegment::SaveObject(ostream& stream)
+wxSTD ostream& DoodleSegment::SaveObject(wxSTD ostream& stream)
{
wxInt32 n = lines.Number();
stream << n << '\n';
DoodleLine *line = (DoodleLine *)node->Data();
stream << line->x1 << " " <<
line->y1 << " " <<
- line->x2 << " " <<
- line->y2 << "\n";
+ line->x2 << " " <<
+ line->y2 << "\n";
node = node->Next();
}
DoodleLine *line = (DoodleLine *)node->Data();
text_stream << line->x1 << " " <<
line->y1 << " " <<
- line->x2 << " " <<
- line->y2 << "\n";
+ line->x2 << " " <<
+ line->y2 << "\n";
node = node->Next();
}
#endif
#if wxUSE_STD_IOSTREAM
-istream& DoodleSegment::LoadObject(istream& stream)
+wxSTD istream& DoodleSegment::LoadObject(wxSTD istream& stream)
{
wxInt32 n = 0;
stream >> n;
DoodleLine *line = new DoodleLine;
stream >> line->x1 >>
line->y1 >>
- line->x2 >>
- line->y2;
+ line->x2 >>
+ line->y2;
lines.Append(line);
}
DoodleLine *line = new DoodleLine;
text_stream >> line->x1 >>
line->y1 >>
- line->x2 >>
- line->y2;
+ line->x2 >>
+ line->y2;
lines.Append(line);
}