]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/toolbar.cpp
another segfault fix
[wxWidgets.git] / src / os2 / toolbar.cpp
index fcdc62b7aa0741216116b46fa61236f95aa8d664..804f2bc3fd65272aff8133dcc05feaff975c33b7 100644 (file)
@@ -187,6 +187,7 @@ bool wxToolBar::Create(
                        ,rPos
                        ,rSize
                        ,lStyle
+                      , wxDefaultValidator
                        ,rName
                       ))
         return(FALSE);
@@ -918,8 +919,7 @@ void wxToolBar::OnMouseEvent(
 }
 
 MRESULT wxToolBar::OS2WindowProc(
-  HWND                              hWnd
-, WXUINT                            ulMsg
+  WXUINT                            ulMsg
 , MPARAM                            wParam
 , MPARAM                            lParam
 )