| 5179 | } |
| 5180 | |
| 5181 | void GetData(matrix_t<double> &data) |
| 5182 | { |
| 5183 | int nr = Grid->GetNumberRows(); |
| 5184 | int nc = Grid->GetNumberCols(); |
| 5185 | data.resize_fill( nr, nc, 0.0f ); |
| 5186 | for (int r=0;r<nr;r++) |
| 5187 | for (int c=0;c<nc;c++) |
| 5188 | data.at(r,c) = (double)wxAtof( Grid->GetCellValue(r,c) ); |
| 5189 | } |
| 5190 | |
| 5191 | void OnCellChange(wxGridEvent &evt) |
| 5192 | { |
nothing calls this directly
no test coverage detected