Added wxMenuBase::FindItemByPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9505511c59
commit
bd582574c2
@ -81,6 +81,7 @@ All GUI ports:
|
||||
- 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:
|
||||
|
||||
|
@ -349,6 +349,12 @@ before matching.
|
||||
\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}}
|
||||
|
@ -242,6 +242,9 @@ public:
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user