]> 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 804f2bc3fd65272aff8133dcc05feaff975c33b7..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;