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
// ============================================================================
// Select the first tab. Generates a ChangePage.
m_tabView->SetTabSelection(0, true);
}
// Select the first tab. Generates a ChangePage.
m_tabView->SetTabSelection(0, true);
}
// We must adjust which tab we think is selected.
// If greater than the page we deleted, it must be moved down
// a notch.
// We must adjust which tab we think is selected.
// If greater than the page we deleted, it must be moved down
// a notch.