unused parameter warning fixes for --disable-all-features build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1242,13 +1242,19 @@ wxFindWindowByName (const wxString& name, wxWindow * parent)
|
||||
|
||||
// Returns menu item id or wxNOT_FOUND if none.
|
||||
int
|
||||
wxFindMenuItemId (wxFrame * frame, const wxString& menuString, const wxString& itemString)
|
||||
wxFindMenuItemId(wxFrame *frame,
|
||||
const wxString& menuString,
|
||||
const wxString& itemString)
|
||||
{
|
||||
#if wxUSE_MENUS
|
||||
wxMenuBar *menuBar = frame->GetMenuBar ();
|
||||
if ( menuBar )
|
||||
return menuBar->FindMenuItem (menuString, itemString);
|
||||
#endif // wxUSE_MENUS
|
||||
#else // !wxUSE_MENUS
|
||||
wxUnusedVar(frame);
|
||||
wxUnusedVar(menuString);
|
||||
wxUnusedVar(itemString);
|
||||
#endif // wxUSE_MENUS/!wxUSE_MENUS
|
||||
|
||||
return wxNOT_FOUND;
|
||||
}
|
||||
|
Reference in New Issue
Block a user