// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-
#ifdef __GNUG__
#pragma implementation "menu.h"
+#pragma implementation "menuitem.h"
#endif
#include "wx/menu.h"
m_items.DeleteContents( TRUE );
m_invokingWindow = (wxWindow *) NULL;
m_menu = gtk_menu_new(); // Do not show!
+
m_callback = func;
m_eventHandler = this;
+ m_clientData = (void*) NULL;
+
if (m_title.IsNull()) m_title = "";
if (m_title != "")
{
node = node->Next();
}
- wxLogDebug( "wxMenu::FindItem: item %d not found.", id);
-
+ // Not finding anything here can be correct
+ // when search the entire menu system for
+ // an entry -> no error message.
+
return (wxMenuItem *) NULL;
}