]> git.saurik.com Git - wxWidgets.git/commitdiff
removed a SetFont(parent->GetFont())
authorRobin Dunn <robin@alldunn.com>
Thu, 24 Jun 2004 04:45:53 +0000 (04:45 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 24 Jun 2004 04:45:53 +0000 (04:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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