]> git.saurik.com Git - wxWidgets.git/commitdiff
Changed GetDocuments() to remove cast, added GetTemplates()
authorJulian Smart <julian@anthemion.co.uk>
Fri, 5 Jan 2001 10:50:24 +0000 (10:50 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 5 Jan 2001 10:50:24 +0000 (10:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/docview.h

index 8eafaccc135ae0ccce05c9f96ad1a65519f9d675..de1f8ed36a1dc44b401604c46eb0388e7e2c82ab 100644 (file)
@@ -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);