lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master be4c2a4 32/46: Add a comment explaining why t


From: Greg Chicares
Subject: [lmi-commits] [lmi] master be4c2a4 32/46: Add a comment explaining why the first column is read-only
Date: Wed, 22 Jul 2020 11:05:15 -0400 (EDT)

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

    Add a comment explaining why the first column is read-only
    
    No changes to the code.
---
 census_view.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/census_view.cpp b/census_view.cpp
index 4adb583..841f283 100644
--- a/census_view.cpp
+++ b/census_view.cpp
@@ -1536,6 +1536,7 @@ CensusViewGridTable::CensusViewGridTable(CensusGridView& 
view)
     wxGrid const* grid = view.grid_window_;
     SetAttrProvider(new(wx) CensusViewGridCellAttrProvider(grid));
 
+    // The first, special, column shows the cell row number and can't be 
edited.
     auto attr = new(wx) wxGridCellAttr();
     attr->SetReadOnly();
     SetColAttr(attr, 0);



reply via email to

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