Hi everyone,
I have a problem with wxGrid. I want to select the current line (I want it is colored).
I grab the left click event and after I select the grid but after that, it's becomming impossible to edit the case.
If anybody has a solution to do those two things, maybe I don't follow the right way.
Thanks,
JC
Problem with wxGrid - Text edition
Re: Problem with wxGrid - Text edition
If you grab it, it means that the normal target for that event won't catch it. So if you just grab an event and do nothing, nothing will happen, even something used to happen before.jcvignoud wrote:I grab the left click event and after I select the grid but after that, it's becomming impossible to edit the case.
void YourFrame::OnGridCellLeftClick( wxGridEvent &event )
{
// Your code here
// This will allow the event to travel further for other components to catch it
event.Skip( true );
}