]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/scrolbar.cpp
adaptions to m_peer methods
[wxWidgets.git] / src / msw / scrolbar.cpp
index 820c1fb0d5f522b7a416cc14aeb90858c544bb3c..7f7b7c2c7e0c2a60f0c95c93cfe800fd0d0f2cbe 100644 (file)
@@ -152,8 +152,6 @@ bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
     ::SetScrollPos(scroll_bar, SB_CTL, 0, FALSE);
     ShowWindow(scroll_bar, SW_SHOW);
 
-    SetFont(parent->GetFont());
-
     m_hWnd = (WXHWND)scroll_bar;
 
     // Subclass again for purposes of dialog editing mode