BEGIN_EVENT_TABLE(wxNotebook, wxBookCtrlBase)
EVT_NOTEBOOK_PAGE_CHANGED(wxID_ANY, wxNotebook::OnSelChange)
EVT_SIZE(wxNotebook::OnSize)
BEGIN_EVENT_TABLE(wxNotebook, wxBookCtrlBase)
EVT_NOTEBOOK_PAGE_CHANGED(wxID_ANY, wxNotebook::OnSelChange)
EVT_SIZE(wxNotebook::OnSize)
// ============================================================================
// implementation
// ============================================================================
// ============================================================================
// implementation
// ============================================================================
// control (i.e. when there are too many pages) -- otherwise after
// deleting a page nothing at all is shown
//
// control (i.e. when there are too many pages) -- otherwise after
// deleting a page nothing at all is shown
//
// If the inserted page is before the selected one, we must update the
// index of the selected page
//
// If the inserted page is before the selected one, we must update the
// index of the selected page
//