]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/tooltip.h
define wxUSE_MFC as 0 if it's not defined (fixes gcc -Wundef warning)
[wxWidgets.git] / include / wx / os2 / tooltip.h
index 7bd4a8503d985b756a319c19e13697e91293f1bb..1a1bc252adf859dc7bcf29f45325123129ac058f 100644 (file)
@@ -25,6 +25,12 @@ public:
            void            SetTip(const wxString& rsTip);
     inline void            SetWindow(wxWindow* pWin) { m_pWindow = pWin; }
 
+    // controlling tooltip behaviour: globally change tooltip parameters
+        // enable or disable the tooltips globally
+    static void Enable(bool WXUNUSED(flag)) {}
+        // set the delay after which the tooltip appears
+    static void SetDelay(long WXUNUSED(milliseconds)) {}
+
     //
     // Implementation
     //
@@ -38,4 +44,3 @@ private:
     wxString                        m_sText;           // tooltip text
     wxWindow*                       m_pWindow;         // window we're associated with
 }; // end of CLASS wxToolTip
-