From: Vadim Zeitlin Date: Thu, 1 Apr 2004 00:10:12 +0000 (+0000) Subject: removed SetFont() inheriting the parents font X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a4a5c96ed7ae3d6965e23e5d910d320f7673ed0d removed SetFont() inheriting the parents font git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/slider95.cpp b/src/msw/slider95.cpp index cca538bbff..50b340c87b 100644 --- a/src/msw/slider95.cpp +++ b/src/msw/slider95.cpp @@ -241,8 +241,6 @@ bool wxSlider95::Create(wxWindow *parent, wxWindowID id, ::SetWindowText((HWND) m_hWnd, wxEmptyString); - SetFont(parent->GetFont()); - if ( m_windowStyle & wxSL_LABELS ) { // Finally, create max value static item