]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/slider95.cpp
implemented a simple DoGetBestSize() for MSW's wxScrollBar
[wxWidgets.git] / 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