// the menu events should be given to the child as we show its menu bar
// as our own
const wxEventType eventType = event.GetEventType();
- if ( eventType == wxEVT_COMMAND_MENU_SELECTED ||
+ if ( eventType == wxEVT_MENU ||
eventType == wxEVT_UPDATE_UI )
{
// set the flag indicating that this event was forwarded to the
m_notebook = new wxNotebook(this, wxID_ANY);
m_notebook->Connect
(
- wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED,
+ wxEVT_NOTEBOOK_PAGE_CHANGED,
wxNotebookEventHandler(
wxGenericMDIClientWindow::OnPageChanged),
NULL,