X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c913512a4c9f36e11e07ea707002fab1608d324..e333075415c35d2e869ea585fa41f01a2c938897:/interface/tooltip.h diff --git a/interface/tooltip.h b/interface/tooltip.h index 6abb42f458..8c39060810 100644 --- a/interface/tooltip.h +++ b/interface/tooltip.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: tooltip.h -// Purpose: documentation for wxToolTip class +// Purpose: interface of wxToolTip // Author: wxWidgets team // RCS-ID: $Id$ // Licence: wxWindows license @@ -32,7 +32,6 @@ public: /** Enable or disable tooltips globally. - May not be supported on all platforms (eg. wxCocoa). */ static void Enable(bool flag); @@ -40,12 +39,12 @@ public: /** Get the tooltip text. */ - wxString GetTip(); + wxString GetTip() const; /** Get the associated window. */ - wxWindow* GetWindow(); + wxWindow* GetWindow() const; /** Set the delay after which the tooltip disappears or how long a @@ -56,7 +55,6 @@ public: /** Set the delay after which the tooltip appears. - May not be supported on all platforms (eg. wxCocoa). */ static void SetDelay(long msecs); @@ -72,3 +70,4 @@ public: */ void SetTip(const wxString& tip); }; +