]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wince/tbarwce.cpp
Rework the wxCusor ctor taking wx stock number to provide as many cursors as
[wxWidgets.git] / src / msw / wince / tbarwce.cpp
index 45d5c811723ac79e18644bcf1f9a677ca2c74d47..0ff004bae357bb403193dacf4617b8dc8530c5a3 100644 (file)
@@ -96,8 +96,8 @@ public:
         m_bitmapIndex = -1;
     }
 
-    wxToolMenuBarTool(wxToolBar *tbar, wxControl *control)
-        : wxToolBarToolBase(tbar, control)
+    wxToolMenuBarTool(wxToolBar *tbar, wxControl *control, const wxString& label)
+        : wxToolBarToolBase(tbar, control, label)
     {
         m_nSepCount = 1;
         m_bitmapIndex = -1;
@@ -151,9 +151,10 @@ wxToolBarToolBase *wxToolMenuBar::CreateTool(int id,
                              clientData, shortHelp, longHelp);
 }
 
-wxToolBarToolBase *wxToolMenuBar::CreateTool(wxControl *control)
+wxToolBarToolBase *
+wxToolMenuBar::CreateTool(wxControl *control, const wxString& label)
 {
-    return new wxToolMenuBarTool(this, control);
+    return new wxToolMenuBarTool(this, control, label);
 }
 
 // ----------------------------------------------------------------------------