]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/menu.h
allow wxFileConfig be created with empty name (will take it from wxApp) (patch 749749)
[wxWidgets.git] / include / wx / menu.h
index 12ed13942567a88abd5b63260071171b4b5d6872..77633a78149f2cd6c6fc90bd3e316f66e610afbb 100644 (file)
@@ -242,6 +242,9 @@ public:
     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;