X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/41dee9d0ce93989c03848ebd7fc21fb402d4c247..8853b9a80e58b01a77700cb28c560ba3c1b033ce:/include/wx/gtk1/menu.h diff --git a/include/wx/gtk1/menu.h b/include/wx/gtk1/menu.h index 9896ab085e..a4656258ed 100644 --- a/include/wx/gtk1/menu.h +++ b/include/wx/gtk1/menu.h @@ -49,6 +49,8 @@ public: int FindMenuItem( const wxString &menuString, const wxString &itemString ) const; wxMenuItem* FindMenuItemById( int id ) const; + inline wxMenuItem* FindItemForId( int id ) const + { return FindMenuItemById( id ); } void Check( int id, bool check ); bool Checked( int id ) const;