As per 2.5, wxToolBarBase::FindById should be available to apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@25010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -419,6 +419,9 @@ public:
|
||||
virtual wxToolBarToolBase *FindToolForPosition(wxCoord x,
|
||||
wxCoord y) const = 0;
|
||||
|
||||
// find the tool by id
|
||||
wxToolBarToolBase *FindById(int id) const;
|
||||
|
||||
// return TRUE if this is a vertical toolbar, otherwise FALSE
|
||||
bool IsVertical() const { return HasFlag(wxTB_VERTICAL); }
|
||||
|
||||
@@ -577,9 +580,6 @@ protected:
|
||||
// helper functions
|
||||
// ----------------
|
||||
|
||||
// find the tool by id
|
||||
wxToolBarToolBase *FindById(int id) const;
|
||||
|
||||
// the list of all our tools
|
||||
wxToolBarToolsList m_tools;
|
||||
|
||||
|
Reference in New Issue
Block a user