X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c67daf87774c71ae9f73af9969008af220e52a11..fc5a93cd09d1cb7e76b3aaea03d980f133801532:/samples/docvwmdi/view.h diff --git a/samples/docvwmdi/view.h b/samples/docvwmdi/view.h index 2f068c7c04..74038ede6e 100644 --- a/samples/docvwmdi/view.h +++ b/samples/docvwmdi/view.h @@ -23,7 +23,7 @@ class MyCanvas: public wxScrolledWindow public: wxView *view; - MyCanvas(wxView *v, wxFrame *frame, const wxPoint& pos, const wxSize& size, const long style); + MyCanvas(wxView *v, wxFrame *frame, const wxPoint& pos, const wxSize& size, long style); virtual void OnDraw(wxDC& dc); void OnMouseEvent(wxMouseEvent& event); @@ -35,7 +35,7 @@ class MyTextWindow: public wxTextCtrl public: wxView *view; - MyTextWindow(wxView *v, wxFrame *frame, const wxPoint& pos, const wxSize& size, const long style); + MyTextWindow(wxView *v, wxFrame *frame, const wxPoint& pos, const wxSize& size, long style); }; class DrawingView: public wxView @@ -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);