]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listbkg.cpp
added all IDs
[wxWidgets.git] / src / generic / listbkg.cpp
index f0d53056976b41066f4b9a08bc1860336f91c414..2fcf9a8548cf49e4097adcccb69471aa8902ca02 100644 (file)
@@ -396,6 +396,7 @@ wxListbook::InsertPage(size_t n,
         page->Hide();
     }
 
+    InvalidateBestSize();
     return true;
 }
 
@@ -410,6 +411,13 @@ wxWindow *wxListbook::DoRemovePage(size_t page)
     return win;
 }
 
+
+bool wxListbook::DeleteAllPages()
+{
+    m_list->DeleteAllItems();
+    return wxBookCtrl::DeleteAllPages();
+}
+
 // ----------------------------------------------------------------------------
 // wxListbook events
 // ----------------------------------------------------------------------------