X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b854a32613f34669af815e1416a6c623a4c2c5b..69157f8b8b6ce7543279d1a026492d35a3906b59:/include/wx/docview.h diff --git a/include/wx/docview.h b/include/wx/docview.h index 86ad9c3801..c7ea657142 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -157,7 +157,8 @@ class WXDLLEXPORT wxView: public wxEvtHandler { DECLARE_ABSTRACT_CLASS(wxView) public: - wxView(wxDocument *doc = (wxDocument *) NULL); +// wxView(wxDocument *doc = (wxDocument *) NULL); + wxView(); ~wxView(void); inline wxDocument *GetDocument(void) const { return m_viewDocument; } @@ -188,7 +189,7 @@ class WXDLLEXPORT wxView: public wxEvtHandler // Override to do cleanup/veto close virtual bool OnClose(bool deleteWindow); -#ifdef WXWIN_COMPATIBILITY +#if WXWIN_COMPATIBILITY // Defeat compiler warning bool OnClose(void) { return wxEvtHandler::OnClose(); } #endif