git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21160
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- Added BLOB support to wxDB (John Skiff)
- Wizard now validates when pressing Back or Next
- Implemented wxNotebook::DoGetBestSize so Fit now works
+- Added FindItemByPosition to wxMenu
Unix:
\pythonnote{The name of this method in wxPython is {\tt FindItemById}
and it does not support the second parameter.}
+\membersection{wxMenu::FindItemByPosition}\label{wxmenufinditembyposition}
+
+\constfunc{wxMenuItem*}{FindItemByPosition}{\param{size_t }{position}}
+
+Returns the wxMenuItem given a position in the menu.
+
\membersection{wxMenu::GetHelpString}\label{wxmenugethelpstring}
\constfunc{wxString}{GetHelpString}{\param{int}{ id}}
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;