]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/slider.cpp
corrected path splitting for mac relative paths
[wxWidgets.git] / src / os2 / slider.cpp
index 931d848e9d6f4b5ba55a88658bfadfee10a0c2a3..7819dca287ef0ef6af1bea376e76fcede34513ab 100644 (file)
@@ -329,7 +329,7 @@ bool wxSlider::Create(
     m_hWnd = (WXHWND)hScrollBar;
     SubclassWin(GetHWND());
     ::WinSetWindowText((HWND)m_hWnd, "");
-    SetFont(pParent->GetFont());
+    SetFont(*wxSMALL_FONT);
     if (m_windowStyle & wxSL_LABELS)
     {
         //