diff --git a/src/gtk/menu.cpp b/src/gtk/menu.cpp index feb4c5e2f3..56ddd5ac50 100644 --- a/src/gtk/menu.cpp +++ b/src/gtk/menu.cpp @@ -180,7 +180,7 @@ static int FindMenuItemRecursive( const wxMenu *menu, const wxString &menuString return wxNOT_FOUND; } -wxMenuItem *wxMenuBar::FindItemForId(int itemId, wxMenu **menuForItem = NULL) const +wxMenuItem *wxMenuBar::FindItemForId(int itemId, wxMenu **menuForItem ) const { if ( menuForItem ) { diff --git a/src/gtk1/menu.cpp b/src/gtk1/menu.cpp index feb4c5e2f3..56ddd5ac50 100644 --- a/src/gtk1/menu.cpp +++ b/src/gtk1/menu.cpp @@ -180,7 +180,7 @@ static int FindMenuItemRecursive( const wxMenu *menu, const wxString &menuString return wxNOT_FOUND; } -wxMenuItem *wxMenuBar::FindItemForId(int itemId, wxMenu **menuForItem = NULL) const +wxMenuItem *wxMenuBar::FindItemForId(int itemId, wxMenu **menuForItem ) const { if ( menuForItem ) {