X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23a54e14a71e9184c3c33c2ba39b10ee1dd029b6..6319afe332dd1b386cf05902af86d3b5df6692f7:/include/wx/docview.h 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);