In an app I'm writing, I have a wxGrid derived class showing some data.
Using SetSelectionMode I select the whole row when I click on a cell,
using the cell select event I can detect cell selections apart from when
I hold the ctrl key down i.e.
Click on row -> select event. Good.
Ctrl + click on row -> select event. Good.
Ctrl + click -> select -> click elsewhere (multiselect) -> NO event.
I've fiddled around with this for a while and can't get it to behave as
expected. Does anyone have a code fragment showing working multi-row
selects with events generated for each row?
If this is impossible (and I can see an argument for this being
reasonable behaviour), is there a way to force the wxGrid into a single
selection only mode? This is, actually, what I was trying to achieve.
Ta in advance
Iain