]> git.saurik.com Git - wxWidgets.git/commitdiff
removed SetFont() inheriting the parents font
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Apr 2004 00:10:12 +0000 (00:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 1 Apr 2004 00:10:12 +0000 (00:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/slider95.cpp

index cca538bbff1913ddecfc57f5a8acd698eed650c8..50b340c87b668c181e0f019bdc6724e5ccbf729d 100644 (file)
@@ -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