@@ -484,6 +484,7 @@ public:
|
|||||||
|
|
||||||
// these methods allow to access tools by their index in the toolbar
|
// these methods allow to access tools by their index in the toolbar
|
||||||
size_t GetToolsCount() const { return m_tools.GetCount(); }
|
size_t GetToolsCount() const { return m_tools.GetCount(); }
|
||||||
|
wxToolBarToolBase *GetToolByPos(int pos) { return m_tools[pos]; }
|
||||||
const wxToolBarToolBase *GetToolByPos(int pos) const { return m_tools[pos]; }
|
const wxToolBarToolBase *GetToolByPos(int pos) const { return m_tools[pos]; }
|
||||||
|
|
||||||
#if WXWIN_COMPATIBILITY_2_8
|
#if WXWIN_COMPATIBILITY_2_8
|
||||||
|
@@ -578,6 +578,8 @@ public:
|
|||||||
|
|
||||||
@see GetToolsCount()
|
@see GetToolsCount()
|
||||||
*/
|
*/
|
||||||
|
wxToolBarToolBase *GetToolByPos(int pos);
|
||||||
|
|
||||||
const wxToolBarToolBase *GetToolByPos(int pos) const;
|
const wxToolBarToolBase *GetToolByPos(int pos) const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user