return true;
#endif // wxUSE_TOOLBAR
+ wxUnusedVar(win);
+
return false;
}
}
}
- GetEventHandler()->ProcessEvent(commandEvent);
- return true;
+ return HandleWindowEvent(commandEvent);
#else // !wxUSE_MENUS
+ wxUnusedVar(id);
+
return false;
#endif // wxUSE_MENUS/!wxUSE_MENUS
}
if ( menuId != wxID_SEPARATOR && menuId != -3 /* wxID_TITLE */ )
{
const wxMenuItem * const item = FindItemInMenuBar(menuId);
- if ( item )
+ if ( item && !item->IsSeparator() )
helpString = item->GetHelp();
// notice that it's ok if we don't find the item because it might
statbar->SetStatusText(text, m_statusBarPane);
#else
- wxUnusedVar(text);
+ wxUnusedVar(help);
wxUnusedVar(show);
#endif // wxUSE_STATUSBAR
}