X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e520c3f75cbfb0ed6a751576d7032ef196a1817d..6968a3b87cee46f5c5af9b46e1ef97f17133cef7:/include/wx/richtooltip.h diff --git a/include/wx/richtooltip.h b/include/wx/richtooltip.h index 83ea72dee2..c642b04c2b 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 /////////////////////////////////////////////////////////////////////////////// @@ -11,11 +11,15 @@ #ifndef _WX_RICHTOOLTIP_H_ #define _WX_RICHTOOLTIP_H_ +#include "wx/defs.h" + #if wxUSE_RICHTOOLTIP -class WXDLLIMPEXP_FWD_CORE wxColour; +#include "wx/colour.h" + class WXDLLIMPEXP_FWD_CORE wxFont; class WXDLLIMPEXP_FWD_CORE wxIcon; +class WXDLLIMPEXP_FWD_CORE wxWindow; class wxRichToolTipImpl; @@ -72,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.