]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/toolbar.h
don't pass 0 time_t to Borland localtime(), it crashes (bug 1704438); also check...
[wxWidgets.git] / include / wx / os2 / toolbar.h
index 608d65311a0e7603fa10907e70dfdb43f7870e89..77617a36add4ffda9da6e18b74fb024dd5e1bb19 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
@@ -164,7 +165,8 @@ protected:
                                           ,const wxString& rsShortHelp
                                           ,const wxString& rsLongHelp
                                          );
-    virtual wxToolBarToolBase* CreateTool(wxControl* pControl);
+    virtual wxToolBarToolBase* CreateTool(wxControl* pControl,
+                                          const wxString& label);
 
     //
     // Helpers
@@ -204,6 +206,15 @@ private:
     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)
 };