]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docview/doc.cpp
don't use unneeded logBuf member variable; show the changed cell value in OnCellValue...
[wxWidgets.git] / samples / docview / doc.cpp
index 9d10db817e5376005c5f74c4769bf4ca599b912b..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):wxObject()
+DoodleSegment::DoodleSegment(const DoodleSegment& seg):wxObject()
 {
     wxList::compatibility_iterator node = seg.lines.GetFirst();
     while (node)