m_line = new wxStaticLine
(
this,
- -1,
+ wxID_ANY,
wxDefaultPosition,
wxDefaultSize,
IsVertical() ? wxLI_HORIZONTAL : wxLI_VERTICAL
page->Hide();
}
+ InvalidateBestSize();
return true;
}
return win;
}
+
+bool wxListbook::DeleteAllPages()
+{
+ m_list->DeleteAllItems();
+ return wxBookCtrl::DeleteAllPages();
+}
+
// ----------------------------------------------------------------------------
// wxListbook events
// ----------------------------------------------------------------------------