made wxToolTip::Enable() and SetDelay() static (as in wxGTK) and added some
code in the controls sample to test them git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -271,6 +271,7 @@ public:
|
||||
void SetToolTip(wxToolTip *tooltip);
|
||||
// get the current tooltip (may return NULL if none)
|
||||
wxToolTip* GetToolTip() const { return m_tooltip; }
|
||||
|
||||
#endif // wxUSE_TOOLTIPS
|
||||
|
||||
// Accept files for dragging
|
||||
@@ -767,7 +768,7 @@ private:
|
||||
// the associated tooltip (may be NULL if none)
|
||||
#if wxUSE_TOOLTIPS
|
||||
wxToolTip *m_tooltip;
|
||||
#endif
|
||||
#endif // tooltips
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
Reference in New Issue
Block a user