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:
parent
4f73709d9c
commit
3dd67a18b7
@ -283,7 +283,8 @@ public:
|
||||
|
||||
// Set the tooltip for the item (for EVT\_TREE\_ITEM\_GETTOOLTIP events)
|
||||
void SetToolTip(const wxString& toolTip) { m_label = toolTip; }
|
||||
|
||||
wxString GetToolTip() { return m_label; }
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_2
|
||||
// for compatibility only, don't use
|
||||
wxDEPRECATED( int GetCode() const);
|
||||
|
@ -256,6 +256,7 @@ public:
|
||||
|
||||
// Set the tooltip for the item (for EVT_TREE_ITEM_GETTOOLTIP events)
|
||||
void SetToolTip(const wxString& toolTip);
|
||||
wxString GetToolTip();
|
||||
};
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user