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(); };