Changed GetDocuments() to remove cast, added GetTemplates()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2001-01-05 10:50:24 +00:00
parent da2fd5acd8
commit 0b237b676d

View 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);