|
|
@@ -72,9 +72,11 @@ void cosmos::OnCellChange( wxGridEvent& event ) |
|
|
|
int row = event.GetRow(); |
|
|
|
int col = event.GetCol(); |
|
|
|
|
|
|
|
if ((col > 0) && (col < 4)) |
|
|
|
if (col < 4) //checkboxes |
|
|
|
{ |
|
|
|
bdd->modresultbool(row+1, col, grid_Consults->GetCellValue(row, col)); |
|
|
|
|
|
|
|
//Actualisation de la grille |
|
|
|
bool publie = false; |
|
|
|
for (int i=1; i<4; i++) |
|
|
|
if (grid_Consults->GetCellValue(row, col).IsSameAs("1")) |
|
|
@@ -86,6 +88,10 @@ void cosmos::OnCellChange( wxGridEvent& event ) |
|
|
|
grid_Consults->SetCellBackgroundColour(row, i, *wxWHITE); |
|
|
|
grid_Consults->ForceRefresh(); |
|
|
|
} |
|
|
|
else //corrections |
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
void cosmos::OnCellDbClick( wxGridEvent& event ) |
|
|
|