]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/docview.h
corrected code to really skip stack frames in the beginning and to number the remaini...
[wxWidgets.git] / include / wx / docview.h
index 381dd1ac1a3027c79aba33bd798ba4a34a672db6..13e875ceac1188539d0e346e05e099453e32bdeb 100644 (file)
 #ifndef _WX_DOCH__
 #define _WX_DOCH__
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "docview.h"
-#endif
-
 #include "wx/defs.h"
 
 #if wxUSE_DOC_VIEW_ARCHITECTURE
@@ -130,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);