]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/mdi.cpp
Preserve original menu label for later retrieval
[wxWidgets.git] / src / gtk1 / mdi.cpp
index 47b3493b95b725a287e030d763d5bb0450812a4c..295aef91fb8b2e9ebb0ac67c74c0d86f5a1c20f3 100644 (file)
@@ -409,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?