]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docview/doc.cpp
Patch for Bug 1409256, wxversion.py does not understand lib and lib64
[wxWidgets.git] / samples / docview / doc.cpp
index eed9eee18d40cb0a76df8d682a3b0f8dfe0e82dd..cc045583508e79d3e699bbba8bf7e669e9679a0d 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"
 
@@ -123,7 +119,7 @@ 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)