X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..80255b7eaf9427daf6fa21a3f27e4475dcc54cf8:/include/wx/mstream.h?ds=sidebyside diff --git a/include/wx/mstream.h b/include/wx/mstream.h index 97d6f5e00b..8e12d63274 100644 --- a/include/wx/mstream.h +++ b/include/wx/mstream.h @@ -31,6 +31,7 @@ public: InitFromStream(stream, lenFile); } wxMemoryInputStream(wxMemoryInputStream& stream) + : wxInputStream() { InitFromStream(stream, wxInvalidOffset); } @@ -64,7 +65,7 @@ private: // copy ctor is implemented above: it copies the other stream in this one DECLARE_ABSTRACT_CLASS(wxMemoryInputStream) - DECLARE_NO_ASSIGN_CLASS(wxMemoryInputStream) + wxDECLARE_NO_ASSIGN_CLASS(wxMemoryInputStream); }; class WXDLLIMPEXP_BASE wxMemoryOutputStream : public wxOutputStream @@ -94,7 +95,7 @@ protected: wxFileOffset OnSysTell() const; DECLARE_DYNAMIC_CLASS(wxMemoryOutputStream) - DECLARE_NO_COPY_CLASS(wxMemoryOutputStream) + wxDECLARE_NO_COPY_CLASS(wxMemoryOutputStream); }; #if WXWIN_COMPATIBILITY_2_6