]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/tooltip.h
Add OSX prefix, and be clear that this is OS X only API to avoid any expectation...
[wxWidgets.git] / include / wx / palmos / tooltip.h
index 229c645b292f5f55a12a6c1a80cea24efb678b14..447dd4d9a8b582ac58c8cbb019b9784c2e37ce3a 100644 (file)
@@ -1,15 +1,18 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        palmos/tooltip.h
+// Name:        wx/palmos/tooltip.h
 // Purpose:     wxToolTip class - tooltip control
-// Author:      William Osborne
+// Author:      William Osborne - minimal working wxPalmOS port
 // Modified by:
 // Created:     10/13/04
-// RCS-ID:      $Id
+// RCS-ID:      $Id$
 // Copyright:   (c) William Osborne
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
-class WXDLLEXPORT wxToolTip : public wxObject
+#ifndef _WX_PALMOS_TOOLTIP_H_
+#define _WX_PALMOS_TOOLTIP_H_
+
+class WXDLLIMPEXP_CORE wxToolTip : public wxObject
 {
 public:
     // ctor & dtor
@@ -30,6 +33,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);
 
     // implementation only from now on
     // -------------------------------
@@ -55,6 +62,7 @@ private:
     wxWindow *m_window;         // window we're associated with
 
     DECLARE_ABSTRACT_CLASS(wxToolTip)
-    DECLARE_NO_COPY_CLASS(wxToolTip)
+    wxDECLARE_NO_COPY_CLASS(wxToolTip);
 };
 
+#endif // _WX_PALMOS_TOOLTIP_H_