X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/05facebb89314f458099e0297abaa9a1b152c3a9..582f07c2532e6e2d7d1ccb235354548e9bada9bf:/include/wx/os2/tooltip.h?ds=inline diff --git a/include/wx/os2/tooltip.h b/include/wx/os2/tooltip.h index 709cd325c9..5a85523492 100644 --- a/include/wx/os2/tooltip.h +++ b/include/wx/os2/tooltip.h @@ -6,9 +6,12 @@ // Created: 10/17/99 // RCS-ID: $Id$ // Copyright: (c) David Webster -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// +#ifndef _WX_OS2_TOOLTIP_H_ +#define _WX_OS2_TOOLTIP_H_ + class wxToolTip : public wxObject { public: @@ -25,6 +28,12 @@ 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)) {} + // // Implementation // @@ -39,3 +48,4 @@ private: wxWindow* m_pWindow; // window we're associated with }; // end of CLASS wxToolTip +#endif // _WX_OS2_TOOLTIP_H_