]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docvwmdi/doc.cpp
Added missing wx_aui.dsp file
[wxWidgets.git] / samples / docvwmdi / doc.cpp
index d55b80a34ea0f0cfb3f5b9a49b46885c54e2e070..292c280f12b3792b9391e135809268ea139d6c3a 100644 (file)
@@ -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,8 @@ wxInputStream& DrawingDocument::LoadObject(wxInputStream& stream)
 }
 #endif
 
-DoodleSegment::DoodleSegment(DoodleSegment& seg)
+DoodleSegment::DoodleSegment(const DoodleSegment& seg)
+              :wxObject()
 {
   wxList::compatibility_iterator node = seg.lines.GetFirst();
   while (node)