bool wxFrameBase::ShowMenuHelp(wxStatusBar *statbar, int menuId)
{
+#if wxUSE_MENUS
if ( !statbar )
return FALSE;
statbar->SetStatusText(helpString);
return !helpString.IsEmpty();
+#else // !wxUSE_MENUS
+ return FALSE;
+#endif // wxUSE_MENUS/!wxUSE_MENUS
}
#endif // wxUSE_STATUSBAR