X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9739d9ee8090965862ba623b09a8fba731dc3d5c..22e90769f8da73d398bd7da83f185263a292972f:/include/wx/menu.h?ds=sidebyside diff --git a/include/wx/menu.h b/include/wx/menu.h index e3521afa2c..c297b599a6 100644 --- a/include/wx/menu.h +++ b/include/wx/menu.h @@ -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 // -----------