Actually use the selection foreground color for selected rows in the grid

Originally committed to SVN as r6029.
This commit is contained in:
Thomas Goyne 2011-12-22 21:14:06 +00:00
parent 6ee6e10117
commit 95fe6a523f

View file

@ -487,7 +487,7 @@ void BaseGrid::DrawImage(wxDC &dc, bool paint_columns[]) {
// Row colors // Row colors
wxColour text_standard(lagi_wxColour(OPT_GET("Colour/Subtitle Grid/Standard")->GetColour())); wxColour text_standard(lagi_wxColour(OPT_GET("Colour/Subtitle Grid/Standard")->GetColour()));
wxColour text_selection(lagi_wxColour(OPT_GET("Colour/Subtitle Grid/Standard")->GetColour())); wxColour text_selection(lagi_wxColour(OPT_GET("Colour/Subtitle Grid/Selection")->GetColour()));
wxColour text_collision(lagi_wxColour(OPT_GET("Colour/Subtitle Grid/Collision")->GetColour())); wxColour text_collision(lagi_wxColour(OPT_GET("Colour/Subtitle Grid/Collision")->GetColour()));
wxBrush rowColors[] = { wxBrush rowColors[] = {