]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/toolbar.cpp
applied patch 1683441
[wxWidgets.git] / src / os2 / toolbar.cpp
index 230adb16e860033b87da0002da4e1199d8a1bcf3..40e61c1be430e48e64dd1fe0a9d4d6ab7b759aa2 100644 (file)
@@ -60,8 +60,10 @@ public:
 
     inline wxToolBarTool( wxToolBar* pTbar
                          ,wxControl* pControl
+                         ,const wxString& label
                         ) : wxToolBarToolBase( pTbar
                                               ,pControl
+                                              ,label
                                              )
     {
     }
@@ -128,10 +130,12 @@ wxToolBarToolBase* wxToolBar::CreateTool(
 
 wxToolBarToolBase *wxToolBar::CreateTool(
   wxControl*                        pControl
+, const wxString&                   label
 )
 {
     return new wxToolBarTool( this
                              ,pControl
+                             ,label
                             );
 } // end of wxToolBarSimple::CreateTool