]> git.saurik.com Git - wxWidgets.git/commitdiff
removed redundant code
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 12 Feb 2003 11:42:11 +0000 (11:42 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 12 Feb 2003 11:42:11 +0000 (11:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index a3390abd705c0d4ff3ad26dd0ffb6bb2ed6c7f85..b7af00cc177948a50f6a7b476271cbb0c10b9363 100644 (file)
@@ -7065,10 +7065,6 @@ void wxGrid::DrawColLabel( wxDC& dc, int col )
     dc.SetTextForeground( GetLabelTextColour() );
     dc.SetFont( GetLabelFont() );
 
     dc.SetTextForeground( GetLabelTextColour() );
     dc.SetFont( GetLabelFont() );
 
-    dc.SetBackgroundMode( wxTRANSPARENT );
-    dc.SetTextForeground( GetLabelTextColour() );
-    dc.SetFont( GetLabelFont() );
-
     int hAlign, vAlign;
     GetColLabelAlignment( &hAlign, &vAlign );
 
     int hAlign, vAlign;
     GetColLabelAlignment( &hAlign, &vAlign );