Code: Select all
Bind(wxEVT_GRID_SELECT_CELL, &clsWxGrid::OnSelectCell, this);
Bind(wxEVT_GRID_COL_SIZE, &clsWxGrid::OnGridColSize, this);
I checked the working grids against the bad ones but find no difference at all. Even if i add binding for wxEVT_GRID_CELL_LEFT_CLICK i get that this event will not be fired for the cell in first column.
If i select with mouse the cell in second column and then use keyboard arrows, the cursor moves correctly even to first cell and i can edit, so it seems that only mouse clicking has some problem.
This problem is very urgent... i have to write my own grid component, if i can't solve it. Any suggestion on where to look, to find a solution?
Thanks.
PS: wxWidgets 2.9.4 on Windows Platform, UNICODE build, Codelite IDE, G++
After some investigation i think that the problem could be related to HideCol function that i use to hide some id columns (before the ones that doesn't works); i use it even in working grids... so there must be something wrong in certain circumstances...