X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ffecfa5aeb540b54914739dbb8603edbbd4c00a0..ebf7d5c40ad5436cb2fd43d58193c2d32423504a:/include/wx/palmos/tooltip.h diff --git a/include/wx/palmos/tooltip.h b/include/wx/palmos/tooltip.h index 229c645b29..447dd4d9a8 100644 --- a/include/wx/palmos/tooltip.h +++ b/include/wx/palmos/tooltip.h @@ -1,15 +1,18 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: palmos/tooltip.h +// Name: wx/palmos/tooltip.h // Purpose: wxToolTip class - tooltip control -// Author: William Osborne +// Author: William Osborne - minimal working wxPalmOS port // Modified by: // Created: 10/13/04 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) William Osborne // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -class WXDLLEXPORT wxToolTip : public wxObject +#ifndef _WX_PALMOS_TOOLTIP_H_ +#define _WX_PALMOS_TOOLTIP_H_ + +class WXDLLIMPEXP_CORE wxToolTip : public wxObject { public: // ctor & dtor @@ -30,6 +33,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); // implementation only from now on // ------------------------------- @@ -55,6 +62,7 @@ private: wxWindow *m_window; // window we're associated with DECLARE_ABSTRACT_CLASS(wxToolTip) - DECLARE_NO_COPY_CLASS(wxToolTip) + wxDECLARE_NO_COPY_CLASS(wxToolTip); }; +#endif // _WX_PALMOS_TOOLTIP_H_