]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/toolbar.cpp
typo fixes
[wxWidgets.git] / src / os2 / toolbar.cpp
index 24a0aa8aff484df33a5195cfdaf1278685a5b2e3..40f561de27a1cdad1d8e542326175c7ebec7c379 100644 (file)
@@ -84,17 +84,19 @@ class wxToolBarTool : public wxToolBarToolBase
 public:
     inline wxToolBarTool( wxToolBar*      pTbar
                          ,int             vId
+                         ,const wxString& rsLabel
                          ,const wxBitmap& rBitmap1
                          ,const wxBitmap& rBitmap2
-                         ,bool            bToggle
+                         ,wxItemKind      vKind
                          ,wxObject*       pClientData
                          ,const wxString& rShortHelpString
                          ,const wxString& rLongHelpString
                         ) : wxToolBarToolBase( pTbar
                                               ,vId
+                                              ,rsLabel
                                               ,rBitmap1
                                               ,rBitmap2
-                                              ,bToggle
+                                              ,vKind
                                               ,pClientData
                                               ,rShortHelpString
                                               ,rLongHelpString
@@ -132,9 +134,10 @@ private:
 
 wxToolBarToolBase* wxToolBar::CreateTool(
   int                               nId
+, const wxString&                   rsLabel
 , const wxBitmap&                   rBitmap1
 , const wxBitmap&                   rBitmap2
-, bool                              bToggle
+, wxItemKind                        vKind
 , wxObject*                         pClientData
 , const wxString&                   rShortHelpString
 , const wxString&                   rLongHelpString
@@ -142,9 +145,10 @@ wxToolBarToolBase* wxToolBar::CreateTool(
 {
     return(new wxToolBarTool( this
                              ,nId
+                             ,rsLabel
                              ,rBitmap1
                              ,rBitmap2
-                             ,bToggle
+                             ,vKind
                              ,pClientData
                              ,rShortHelpString
                              ,rLongHelpString