X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a4a162522b875bc7cb23f1d165703f71bd7010f7..91b4bd63177025704dd39679a2a7c4198eeb7909:/src/os2/slider.cpp?ds=sidebyside diff --git a/src/os2/slider.cpp b/src/os2/slider.cpp index 931d848e9d..7819dca287 100644 --- a/src/os2/slider.cpp +++ b/src/os2/slider.cpp @@ -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) { //