X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c67daf87774c71ae9f73af9969008af220e52a11..b76b015ed9231ffe128ddba9fb35e37b4be9764d:/samples/docview/view.h?ds=sidebyside

diff --git a/samples/docview/view.h b/samples/docview/view.h
index 2f068c7c04..d69cef8fec 100644
--- a/samples/docview/view.h
+++ b/samples/docview/view.h
@@ -67,7 +67,7 @@ class TextEditView: public wxView
   wxFrame *frame;
   MyTextWindow *textsw;
   
-  TextEditView(wxDocument *doc = (wxDocument *) NULL): wxView(doc) { frame = (wxFrame *) NULL; textsw = (MyTextWindow *) NULL; }
+  TextEditView(): wxView() { frame = (wxFrame *) NULL; textsw = (MyTextWindow *) NULL; }
   ~TextEditView(void) {}
 
   bool OnCreate(wxDocument *doc, long flags);