From b6b342ec28b4b40a285663906f8f61e9fc0020da Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 25 Dec 2003 11:55:43 +0000 Subject: [PATCH] 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 --- include/wx/tbarbase.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/wx/tbarbase.h b/include/wx/tbarbase.h index c96bef2acf..96234fc611 100644 --- a/include/wx/tbarbase.h +++ b/include/wx/tbarbase.h @@ -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;