X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23a54e14a71e9184c3c33c2ba39b10ee1dd029b6..0ce742cf092c9244f27957e308c16f3c2631042d:/include/wx/docview.h?ds=sidebyside diff --git a/include/wx/docview.h b/include/wx/docview.h index 592b3d6bd4..fb93a4a378 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -96,6 +96,11 @@ public: virtual wxInputStream& LoadObject(wxInputStream& stream); #endif +#if wxUSE_SERIAL + // need this to keep from hiding the virtual from wxObject + virtual void LoadObject(wxObjectInputStream& stream) { wxObject::LoadObject(stream); }; +#endif + // Called by wxWindows virtual bool OnSaveDocument(const wxString& filename); virtual bool OnOpenDocument(const wxString& filename);