lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 4dcae52 34/46: Don't change default wxGrid li


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 4dcae52 34/46: Don't change default wxGrid lines colour
Date: Wed, 22 Jul 2020 11:05:15 -0400 (EDT)

branch: master
commit 4dcae52a8a29723ecc9a6374440ebffe2f4d72c6
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Vadim Zeitlin <vadim@tt-solutions.com>

    Don't change default wxGrid lines colour
    
    The default colour was fixed in wxWidgets itself in the commit
    f1425dad13 (Don't hard code grid lines colour in wxGrid, 2020-05-23), so
    there is no need to do it in lmi too any more.
---
 census_view.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/census_view.cpp b/census_view.cpp
index 51dfcca..05bb2f9 100644
--- a/census_view.cpp
+++ b/census_view.cpp
@@ -1970,7 +1970,6 @@ wxWindow* CensusGridView::CreateChildWindow()
     grid_window_->SetColLabelAlignment(wxALIGN_LEFT, wxALIGN_CENTRE);
     grid_window_->SetDefaultCellAlignment(wxALIGN_LEFT, wxALIGN_CENTRE);
     
grid_window_->SetDefaultCellFitMode(wxGridFitMode::Ellipsize(wxELLIPSIZE_MIDDLE));
-    
grid_window_->SetGridLineColour(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE));
 
     // Grid must be already created when we create the table because we use
     // the default cell background color to determine the alternating color.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]