]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/slider95.cpp
give the panel 3D grey colour by default: as it's not a native control, we must give...
[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);
 
 
     ::SetWindowText((HWND) m_hWnd, wxEmptyString);
 
-    SetFont(parent->GetFont());
-
     if ( m_windowStyle & wxSL_LABELS )
     {
         // Finally, create max value static item
     if ( m_windowStyle & wxSL_LABELS )
     {
         // Finally, create max value static item