tons of fixes for wxGTK/Univ - seems to work, more or less, now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -385,6 +385,7 @@ void wxFrameBase::SetStatusWidths(int n, const int widths_field[] )
|
||||
|
||||
bool wxFrameBase::ShowMenuHelp(wxStatusBar *statbar, int menuId)
|
||||
{
|
||||
#if wxUSE_MENUS
|
||||
if ( !statbar )
|
||||
return FALSE;
|
||||
|
||||
@@ -409,6 +410,9 @@ bool wxFrameBase::ShowMenuHelp(wxStatusBar *statbar, int menuId)
|
||||
statbar->SetStatusText(helpString);
|
||||
|
||||
return !helpString.IsEmpty();
|
||||
#else // !wxUSE_MENUS
|
||||
return FALSE;
|
||||
#endif // wxUSE_MENUS/!wxUSE_MENUS
|
||||
}
|
||||
|
||||
#endif // wxUSE_STATUSBAR
|
||||
|
Reference in New Issue
Block a user