]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/mdi.cpp
no changes, just fixed a typo in an error message
[wxWidgets.git] / src / gtk1 / mdi.cpp
index 10cf8bbe39cd1051a831fa5bb83a98be832761e0..295aef91fb8b2e9ebb0ac67c74c0d86f5a1c20f3 100644 (file)
 #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/gtk1/private.h"
 
 #include <glib.h>
@@ -45,8 +45,6 @@ extern bool g_isIdle;
 // globals
 //-----------------------------------------------------------------------------
 
-extern wxList wxPendingDelete;
-
 //-----------------------------------------------------------------------------
 // "switch_page"
 //-----------------------------------------------------------------------------
@@ -411,7 +409,7 @@ void wxMDIChildFrame::OnMenuHighlight( wxMenuEvent& event )
 {
 #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?