X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/958d3a7e4bd56371cedcb3836aed397eae0b06d3..61c213fe224da24ce33c9187263e75a17ca83a04:/samples/docvwmdi/doc.cpp diff --git a/samples/docvwmdi/doc.cpp b/samples/docvwmdi/doc.cpp index d55b80a34e..1da72d5f13 100644 --- a/samples/docvwmdi/doc.cpp +++ b/samples/docvwmdi/doc.cpp @@ -122,6 +122,7 @@ wxInputStream& DrawingDocument::LoadObject(wxInputStream& stream) #endif DoodleSegment::DoodleSegment(DoodleSegment& seg) + :wxObject() { wxList::compatibility_iterator node = seg.lines.GetFirst(); while (node)