From e572631fe170e159d26c4f93cf7b7909efaf1ea5 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Fri, 10 Sep 2004 20:01:02 +0000 Subject: [PATCH] Added GetListView accessor git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/listbook.h | 2 ++ wxPython/src/_notebook.i | 1 + 2 files changed, 3 insertions(+) diff --git a/include/wx/listbook.h b/include/wx/listbook.h index a912075502..136c2e879c 100644 --- a/include/wx/listbook.h +++ b/include/wx/listbook.h @@ -111,6 +111,8 @@ public: virtual bool DeleteAllPages(); + wxListView* GetListView() { return m_list; } + protected: virtual wxWindow *DoRemovePage(size_t page); diff --git a/wxPython/src/_notebook.i b/wxPython/src/_notebook.i index e058b6e9bf..db05752cf2 100644 --- a/wxPython/src/_notebook.i +++ b/wxPython/src/_notebook.i @@ -321,6 +321,7 @@ public: // returns True if we have wxLB_TOP or wxLB_BOTTOM style bool IsVertical() const; + wxListView* GetListView(); };