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:
Julian Smart
2003-12-25 11:55:43 +00:00
parent 7845e34a61
commit b6b342ec28

View File

@@ -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;