X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8cf73271dd6f442a98e86b559d4a55c37e25b99f..09b895cb4a954494063eb17d3dc302a654fd99e5:/include/wx/mac/carbon/tooltip.h diff --git a/include/wx/mac/carbon/tooltip.h b/include/wx/mac/carbon/tooltip.h index 7bf4ecf440..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: @@ -9,8 +9,13 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// +#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 @@ -31,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 @@ -46,3 +55,4 @@ private: DECLARE_ABSTRACT_CLASS(wxToolTip) }; +#endif // _WX_MAC_TOOLTIP_H_