From 0b237b676d49b9503e432018ccb80b120d3ec1e5 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 5 Jan 2001 10:50:24 +0000 Subject: [PATCH] Changed GetDocuments() to remove cast, added GetTemplates() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/docview.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/docview.h b/include/wx/docview.h index 8eafaccc13..de1f8ed36a 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -373,7 +373,8 @@ public: virtual void ActivateView(wxView *view, bool activate = TRUE, bool deleting = FALSE); virtual wxView *GetCurrentView() const; - virtual wxList& GetDocuments() const { return (wxList&) m_docs; } + wxList& GetDocuments() { return m_docs; } + wxList& GetTemplates() { return m_templates; } // Make a default document name virtual bool MakeDefaultName(wxString& buf); -- 2.45.2