X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..ee4d43806461a4856ed526db164f1a6207027f81:/include/wx/os2/tooltip.h?ds=inline diff --git a/include/wx/os2/tooltip.h b/include/wx/os2/tooltip.h index 8ec7fd5abc..87368c4861 100644 --- a/include/wx/os2/tooltip.h +++ b/include/wx/os2/tooltip.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: msw/tooltip.h +// Name: wx/os2/tooltip.h // Purpose: wxToolTip class - tooltip control // Author: David Webster // Modified by: @@ -9,6 +9,9 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// +#ifndef _WX_OS2_TOOLTIP_H_ +#define _WX_OS2_TOOLTIP_H_ + class wxToolTip : public wxObject { public: @@ -27,9 +30,13 @@ public: // controlling tooltip behaviour: globally change tooltip parameters // enable or disable the tooltips globally - static void Enable(bool flag) {} + static void Enable(bool WXUNUSED(flag)) {} // set the delay after which the tooltip appears - static void SetDelay(long milliseconds) {} + 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 @@ -45,3 +52,4 @@ private: wxWindow* m_pWindow; // window we're associated with }; // end of CLASS wxToolTip +#endif // _WX_OS2_TOOLTIP_H_