X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..696b38f7f5255a9aae92822efafc3de36e3390a5:/include/wx/docview.h diff --git a/include/wx/docview.h b/include/wx/docview.h index 2ad8477d49..13e875ceac 100644 --- a/include/wx/docview.h +++ b/include/wx/docview.h @@ -126,7 +126,8 @@ public: virtual bool AddView(wxView *view); virtual bool RemoveView(wxView *view); - wxList& GetViews() const { return (wxList&) m_documentViews; } + wxList& GetViews() { return m_documentViews; } + const wxList& GetViews() const { return m_documentViews; } wxView *GetFirstView() const; virtual void UpdateAllViews(wxView *sender = (wxView *) NULL, wxObject *hint = (wxObject *) NULL);