]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/grid.cpp
inserted casts allowing to have arrays of function pointers -- this is wrong but...
[wxWidgets.git] / 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.SetBackgroundMode( wxTRANSPARENT );
-    dc.SetTextForeground( GetLabelTextColour() );
-    dc.SetFont( GetLabelFont() );
-
     int hAlign, vAlign;
     GetColLabelAlignment( &hAlign, &vAlign );