X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/288de46cb2933c78e0ebd7ed0ecb7f12ad3e48b4..a7689c49fe02c0c065facf736ab28b19f5997b7c:/include/wx/docview.h?ds=inline diff --git a/include/wx/docview.h b/include/wx/docview.h index ae45ba71cd..420355df5f 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -147,10 +147,7 @@ public: virtual bool RemoveView(wxView *view); #ifndef __VISUALC6__ - wxViewVector GetViewsVector() const - { - return m_documentViews.AsVector(); - } + wxViewVector GetViewsVector() const; #endif // !__VISUALC6__ wxList& GetViews() { return m_documentViews; } @@ -470,15 +467,8 @@ public: virtual wxView *GetCurrentView() const { return m_currentView; } #ifndef __VISUALC6__ - wxDocVector GetDocumentsVector() const - { - return m_docs.AsVector(); - } - - wxDocTemplateVector GetTemplatesVector() const - { - return m_templates.AsVector(); - } + wxDocVector GetDocumentsVector() const; + wxDocTemplateVector GetTemplatesVector() const; #endif // !__VISUALC6__ wxList& GetDocuments() { return m_docs; } @@ -1021,6 +1011,23 @@ enum }; #endif // WXWIN_COMPATIBILITY_2_8 +#ifndef __VISUALC6__ +inline wxViewVector wxDocument::GetViewsVector() const +{ + return m_documentViews.AsVector(); +} + +inline wxDocVector wxDocManager::GetDocumentsVector() const +{ + return m_docs.AsVector(); +} + +inline wxDocTemplateVector wxDocManager::GetTemplatesVector() const +{ + return m_templates.AsVector(); +} +#endif // !__VISUALC6__ + #endif // wxUSE_DOC_VIEW_ARCHITECTURE #endif // _WX_DOCH__