]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/toolbar.h
define wxUSE_MFC as 0 if it's not defined (fixes gcc -Wundef warning)
[wxWidgets.git] / include / wx / os2 / toolbar.h
index c428072b28d746115c90e13fe8d8d802656653f0..24adde3e98f1d7ffe18230ab60686bb11cd018ed 100644 (file)
@@ -13,6 +13,7 @@
 #define _WX_TOOLBAR_H_
 
 #if wxUSE_TOOLBAR
+#include "wx/timer.h"
 #include "wx/tbarbase.h"
 
 #define ID_TOOLTIMER                100
@@ -200,8 +201,18 @@ private:
 
     wxTimer                         m_vToolTimer;
     wxTimer                         m_vToolExpTimer;
-    ULONG                           m_ulToolTimer;
-    ULONG                           m_ulToolExpTimer;
+    wxToolTip*                      m_pToolTip;
+    wxCoord                         m_vXMouse;
+    wxCoord                         m_vYMouse;
+
+    //
+    // Virtual function hiding supression
+    virtual wxToolBarToolBase *InsertTool (size_t nPos, wxToolBarToolBase* pTool)
+    {
+        return( wxToolBarBase::InsertTool( nPos
+                                          ,pTool
+                                         ));
+    }
 
     DECLARE_EVENT_TABLE()
     DECLARE_DYNAMIC_CLASS(wxToolBar)