X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21fe01e299e1ab9c4be8deef5c804f21c0811512..67a083dd38d1ad1df8c6a25a58bb2f0ec4f3a936:/samples/docvwmdi/doc.cpp diff --git a/samples/docvwmdi/doc.cpp b/samples/docvwmdi/doc.cpp index 1da72d5f13..292c280f12 100644 --- a/samples/docvwmdi/doc.cpp +++ b/samples/docvwmdi/doc.cpp @@ -9,10 +9,6 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -// #pragma implementation -#endif - // For compilers that support precompilation, includes "wx/wx.h". #include "wx/wxprec.h" @@ -121,7 +117,7 @@ wxInputStream& DrawingDocument::LoadObject(wxInputStream& stream) } #endif -DoodleSegment::DoodleSegment(DoodleSegment& seg) +DoodleSegment::DoodleSegment(const DoodleSegment& seg) :wxObject() { wxList::compatibility_iterator node = seg.lines.GetFirst();