virtual int FindItem(const wxString& item) const;
wxMenuItem* FindItem(int itemid, wxMenu **menu = NULL) const;
+ // find by position
+ wxMenuItem* FindItemByPosition(size_t position) const;
+
// get/set items attributes
void Enable(int itemid, bool enable);
bool IsEnabled(int itemid) const;
#include "wx/gtk/menu.h"
#elif defined(__WXMAC__)
#include "wx/mac/menu.h"
+#elif defined(__WXCOCOA__)
+ #include "wx/cocoa/menu.h"
#elif defined(__WXPM__)
#include "wx/os2/menu.h"
#endif