X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9b7d15bbb90681caaafa439c81b034f40320714..a4301b8f14d21b7d28fc4f6a247b740d945ca6dc:/include/wx/richtooltip.h?ds=inline diff --git a/include/wx/richtooltip.h b/include/wx/richtooltip.h index 7c72ed6528..fa24931fbd 100644 --- a/include/wx/richtooltip.h +++ b/include/wx/richtooltip.h @@ -3,7 +3,7 @@ // Purpose: Declaration of wxRichToolTip class. // Author: Vadim Zeitlin // Created: 2011-10-07 -// RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $ +// RCS-ID: $Id$ // Copyright: (c) 2011 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -76,7 +76,8 @@ public: // elapses but this method can be used to change this or also disable // hiding the tooltip automatically entirely by passing 0 in this parameter // (but doing this can result in native version not being used). - void SetTimeout(unsigned milliseconds); + // Optionally specify a show delay. + void SetTimeout(unsigned milliseconds, unsigned millisecondsShowdelay = 0); // Choose the tip kind, possibly none. By default the tip is positioned // automatically, as if wxTipKind_Auto was used. @@ -86,8 +87,8 @@ public: // or colour appropriate for the current platform. void SetTitleFont(const wxFont& font); - // Show the tooltip for the given window. - void ShowFor(wxWindow* win); + // Show the tooltip for the given window and optionally a specified area. + void ShowFor(wxWindow* win, const wxRect* rect = NULL); // Non-virtual dtor as this class is not supposed to be derived from. ~wxRichToolTip();