X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fc25a89ac1e6c5208db24bfc0abc8666b791dc6..8916d00747c8e7b704ad549afcd8d0f88b6d861e:/contrib/samples/ogl/ogledit/doc.cpp diff --git a/contrib/samples/ogl/ogledit/doc.cpp b/contrib/samples/ogl/ogledit/doc.cpp index 3557696662..017f34f868 100644 --- a/contrib/samples/ogl/ogledit/doc.cpp +++ b/contrib/samples/ogl/ogledit/doc.cpp @@ -14,7 +14,7 @@ #endif // For compilers that support precompilation, includes "wx.h". -#include +#include "wx/wxprec.h" #ifdef __BORLANDC__ #pragma hdrstop @@ -34,7 +34,7 @@ #include "view.h" #if wxUSE_STD_IOSTREAM -#include +#include #endif IMPLEMENT_DYNAMIC_CLASS(DiagramDocument, wxDocument) @@ -54,7 +54,7 @@ bool DiagramDocument::OnCloseDocument(void) } #if wxUSE_STD_IOSTREAM -ostream& DiagramDocument::SaveObject(ostream& stream) +wxSTD ostream& DiagramDocument::SaveObject(wxSTD ostream& stream) { wxDocument::SaveObject(stream); @@ -69,7 +69,7 @@ ostream& DiagramDocument::SaveObject(ostream& stream) return stream; } -istream& DiagramDocument::LoadObject(istream& stream) +wxSTD istream& DiagramDocument::LoadObject(wxSTD istream& stream) { wxDocument::LoadObject(stream);