]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/tooltip.h
suppress (harmless) gcc warning about non-virtual dtor in a class with virtual functions
[wxWidgets.git] / include / wx / mac / carbon / tooltip.h
index 694283053b16609c99d728b661541df13391a1e7..df51d47ffbba8047f982d5c33ae1fc56c47e9f5b 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        mac/tooltip.h
+// Name:        wx/mac/carbon/tooltip.h
 // Purpose:     wxToolTip class - tooltip control
 // Author:      Stefan Csomor
 // Modified by:
 #ifndef _WX_MAC_TOOLTIP_H_
 #define _WX_MAC_TOOLTIP_H_
 
-class wxToolTip : public wxObject
+#include "wx/string.h"
+#include "wx/event.h"
+
+class WXDLLIMPEXP_CORE wxToolTip : public wxObject
 {
 public:
     // ctor & dtor
@@ -33,6 +36,10 @@ public:
     static void Enable(bool flag);
         // set the delay after which the tooltip appears
     static void SetDelay(long milliseconds);
+        // set the delay after which the tooltip disappears or how long the tooltip remains visible
+    static void SetAutoPop(long milliseconds);
+        // set the delay between subsequent tooltips to appear
+    static void SetReshow(long milliseconds);
     static void NotifyWindowDelete( WXHWND win ) ;
 
     // implementation only from now on