X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/37144cf0f155bb7cea1972e934a4d083bca1b8ca..c369d4f116d652a2d51dae88598135c2db3f14dd:/src/generic/listbkg.cpp?ds=inline diff --git a/src/generic/listbkg.cpp b/src/generic/listbkg.cpp index c75120bd59..2fcf9a8548 100644 --- a/src/generic/listbkg.cpp +++ b/src/generic/listbkg.cpp @@ -411,6 +411,13 @@ wxWindow *wxListbook::DoRemovePage(size_t page) return win; } + +bool wxListbook::DeleteAllPages() +{ + m_list->DeleteAllItems(); + return wxBookCtrl::DeleteAllPages(); +} + // ---------------------------------------------------------------------------- // wxListbook events // ----------------------------------------------------------------------------