X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20ceebaa878e9fb54e678c6498aeaeeaae9f0590..eeb0bee1d31939f8ff14a3c7dba6ff22fcdb6fff:/include/wx/mac/carbon/tooltip.h diff --git a/include/wx/mac/carbon/tooltip.h b/include/wx/mac/carbon/tooltip.h index 694283053b..df51d47ffb 100644 --- a/include/wx/mac/carbon/tooltip.h +++ b/include/wx/mac/carbon/tooltip.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: mac/tooltip.h +// Name: wx/mac/carbon/tooltip.h // Purpose: wxToolTip class - tooltip control // Author: Stefan Csomor // Modified by: @@ -12,7 +12,10 @@ #ifndef _WX_MAC_TOOLTIP_H_ #define _WX_MAC_TOOLTIP_H_ -class wxToolTip : public wxObject +#include "wx/string.h" +#include "wx/event.h" + +class WXDLLIMPEXP_CORE wxToolTip : public wxObject { public: // ctor & dtor @@ -33,6 +36,10 @@ public: static void Enable(bool flag); // set the delay after which the tooltip appears static void SetDelay(long milliseconds); + // set the delay after which the tooltip disappears or how long the tooltip remains visible + static void SetAutoPop(long milliseconds); + // set the delay between subsequent tooltips to appear + static void SetReshow(long milliseconds); static void NotifyWindowDelete( WXHWND win ) ; // implementation only from now on