]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/toolbar.cpp
corrected path splitting for mac relative paths
[wxWidgets.git] / src / os2 / toolbar.cpp
index fcdc62b7aa0741216116b46fa61236f95aa8d664..24a0aa8aff484df33a5195cfdaf1278685a5b2e3 100644 (file)
@@ -187,6 +187,7 @@ bool wxToolBar::Create(
                        ,rPos
                        ,rSize
                        ,lStyle
+                      , wxDefaultValidator
                        ,rName
                       ))
         return(FALSE);
@@ -217,7 +218,7 @@ bool wxToolBar::Create(
     wxRGBToColour(m_backgroundColour, GetSysColor(COLOR_BTNFACE));
     m_foregroundColour = *wxBLACK;
 
-    SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
+    SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
 
     // position it
     int x = pos.x;
@@ -918,8 +919,7 @@ void wxToolBar::OnMouseEvent(
 }
 
 MRESULT wxToolBar::OS2WindowProc(
-  HWND                              hWnd
-, WXUINT                            ulMsg
+  WXUINT                            ulMsg
 , MPARAM                            wParam
 , MPARAM                            lParam
 )