]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/mdi.cpp
implement editing_started and _done events for GTK+ >= 2.6
[wxWidgets.git] / src / gtk1 / mdi.cpp
index 0b03d0d3043015107926613b716afc9287d48c71..295aef91fb8b2e9ebb0ac67c74c0d86f5a1c20f3 100644 (file)
@@ -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?