]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/menu.h
Removed old wxGLCanvas stuff; moved wxTreeLayout to wxWindows; corrected some doc...
[wxWidgets.git] / include / wx / menu.h
index e3521afa2cec1df6038fd89cfdbf2499adb701c2..c297b599a6ebc4743ad86b122dfd282b749535c0 100644 (file)
@@ -297,6 +297,9 @@ public:
     // if menu is !NULL, it will be filled with wxMenu this item belongs to
     virtual wxMenuItem* FindItem(int id, wxMenu **menu = NULL) const = 0;
 
+    // find menu by its caption, return wxNOT_FOUND on failure
+    int FindMenu(const wxString& title) const;
+
     // item access
     // -----------