X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..115563867dac8edf57b6d2c6ae95910c7f277d77:/include/wx/mac/carbon/tooltip.h?ds=sidebyside diff --git a/include/wx/mac/carbon/tooltip.h b/include/wx/mac/carbon/tooltip.h index aab4b80b0b..df51d47ffb 100644 --- a/include/wx/mac/carbon/tooltip.h +++ b/include/wx/mac/carbon/tooltip.h @@ -1,16 +1,21 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: mac/tooltip.h +// Name: wx/mac/carbon/tooltip.h // Purpose: wxToolTip class - tooltip control // Author: Stefan Csomor // Modified by: // Created: 31.01.99 // RCS-ID: $Id$ // Copyright: (c) 1999 Robert Roebling, Vadim Zeitlin, Stefan Csomor -// Licence: wxWidgets licence +// 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_