X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9739d9ee8090965862ba623b09a8fba731dc3d5c..babc97583e1280ac0992ca8e3dbd7604e2d3963b:/include/wx/menu.h 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 // -----------