 | wxWidgets 2.5.1, Windows XP Pro Service Pack 1, MSVC++ 7.1 compiler
I have reproduced this in the grid sample (on both Windows & linux): a choice in the last row of a grid will often (always?) revert to its first choice when the user tabs away from the choice.
In the sample, select rows 6 to the end and delete with Edit->Delete selected rows. Click on 5A, and type 'a' twice to choose "Another choice." Hit return to select it, then tab out of the cell. It reverts to "Please select another choice."
Interestingly, it will always revert to the first choice, rather than whatever was previously selected: With the mouse, choose "This takes two cells," then click in another cell. Click back in 5A, and type 'a' twice again to choose "Another choice." Type return to select it, then tab out of the cell. Goes back to "Please select another choice"--which was not even the previous selection!
Interesting, eh?
I tried to fix it by swapping the order of "SaveEditControlValue();" and "HideCellEditControl();" throughout grid.cpp, but that didn't resolve it.
Thanks,
Jennie VH
|
|