X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/371a5b4e62eb415107e045588f614fa49e866e78..86ac84b8ce086e6bbda58f422d41f84268606e35:/include/wx/os2/tooltip.h diff --git a/include/wx/os2/tooltip.h b/include/wx/os2/tooltip.h index 7bd4a8503d..7c4503d537 100644 --- a/include/wx/os2/tooltip.h +++ b/include/wx/os2/tooltip.h @@ -9,6 +9,9 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// +#ifndef _WX_OS2_TOOLTIP_H_ +#define _WX_OS2_TOOLTIP_H_ + class wxToolTip : public wxObject { public: @@ -25,6 +28,16 @@ public: void SetTip(const wxString& rsTip); inline void SetWindow(wxWindow* pWin) { m_pWindow = pWin; } + // controlling tooltip behaviour: globally change tooltip parameters + // enable or disable the tooltips globally + static void Enable(bool WXUNUSED(flag)) {} + // set the delay after which the tooltip appears + static void SetDelay(long WXUNUSED(milliseconds)) {} + // set the delay after which the tooltip disappears or how long the tooltip remains visible + static void SetAutoPop(long WXUNUSED(milliseconds)) {} + // set the delay between subsequent tooltips to appear + static void SetReshow(long WXUNUSED(milliseconds)) {} + // // Implementation // @@ -39,3 +52,4 @@ private: wxWindow* m_pWindow; // window we're associated with }; // end of CLASS wxToolTip +#endif // _WX_OS2_TOOLTIP_H_