#ifndef WX_PRECOMP
#include "wx/intl.h"
+ #include "wx/menu.h"
+ #include "wx/dialog.h"
#endif
#include "wx/notebook.h"
-#include "wx/dialog.h"
-#include "wx/menu.h"
#include "wx/gtk1/private.h"
#include <glib.h>
// globals
//-----------------------------------------------------------------------------
-extern wxList wxPendingDelete;
-
//-----------------------------------------------------------------------------
// "switch_page"
//-----------------------------------------------------------------------------
{
#if wxUSE_STATUSBAR
wxMDIParentFrame *mdi_frame = (wxMDIParentFrame*)m_parent->GetParent();
- if ( !ShowMenuHelp(mdi_frame->GetStatusBar(), event.GetMenuId()) )
+ if ( !ShowMenuHelp(event.GetMenuId()) )
{
// we don't have any help text for this item, but may be the MDI frame
// does?