Add GetToolTip accessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -283,6 +283,7 @@ public:
|
|||||||
|
|
||||||
// Set the tooltip for the item (for EVT\_TREE\_ITEM\_GETTOOLTIP events)
|
// Set the tooltip for the item (for EVT\_TREE\_ITEM\_GETTOOLTIP events)
|
||||||
void SetToolTip(const wxString& toolTip) { m_label = toolTip; }
|
void SetToolTip(const wxString& toolTip) { m_label = toolTip; }
|
||||||
|
wxString GetToolTip() { return m_label; }
|
||||||
|
|
||||||
#if WXWIN_COMPATIBILITY_2_2
|
#if WXWIN_COMPATIBILITY_2_2
|
||||||
// for compatibility only, don't use
|
// for compatibility only, don't use
|
||||||
|
@@ -256,6 +256,7 @@ public:
|
|||||||
|
|
||||||
// Set the tooltip for the item (for EVT_TREE_ITEM_GETTOOLTIP events)
|
// Set the tooltip for the item (for EVT_TREE_ITEM_GETTOOLTIP events)
|
||||||
void SetToolTip(const wxString& toolTip);
|
void SetToolTip(const wxString& toolTip);
|
||||||
|
wxString GetToolTip();
|
||||||
};
|
};
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user