Closed GoogleCodeExporter closed 9 years ago
This is almost certainly a bug in wxGrid. I noticed that that test DataViewer
program never crashes after editing a cell. The only difference between
between DataViewer and OpenGeoDa is the line that associates the Table with the
underlying data:
grid->SetTable(grid_base, false); // false to not take ownership
grid->SetTable(grid_base, true); // false to not take ownership
Setting the ownership flag to false seems to cause the problem. It looks as
though I'll have to rework OpenGeoDa so that the wxGrid stays open, and is only
hidden until the project closes. I found enough hits on Google for strange
bugs related to editing cells in wxWidgets tables that I'm pretty sure this is
a wxWidgets bug.
Original comment by mmcc...@gmail.com
on 9 Sep 2011 at 11:36
Workaround implemented in 0.9.9.15.6
Original comment by mmcc...@gmail.com
on 10 Sep 2011 at 12:13
Original issue reported on code.google.com by
mmcc...@gmail.com
on 9 Sep 2011 at 12:00