]> 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 03734d30b4796efaa9469a1735708096262dacd4..24a0aa8aff484df33a5195cfdaf1278685a5b2e3 100644 (file)
@@ -218,7 +218,7 @@ bool wxToolBar::Create(
     wxRGBToColour(m_backgroundColour, GetSysColor(COLOR_BTNFACE));
     m_foregroundColour = *wxBLACK;
 
     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;
 
     // position it
     int x = pos.x;
@@ -919,8 +919,7 @@ void wxToolBar::OnMouseEvent(
 }
 
 MRESULT wxToolBar::OS2WindowProc(
 }
 
 MRESULT wxToolBar::OS2WindowProc(
-  HWND                              hWnd
-, WXUINT                            ulMsg
+  WXUINT                            ulMsg
 , MPARAM                            wParam
 , MPARAM                            lParam
 )
 , MPARAM                            wParam
 , MPARAM                            lParam
 )