The code is pasting text into GridCtrl which has column EditDouble editors. Now text is pasted as text and clicking on EditDouble column cell crashes (because the cell value is text instead of number).
First I have fixed it with WhenCellPaste (IMO that one is supposed for that), however in the project the issue is widespread. So I started thinking and in the end changed GridCtrl::Set0 this way (just the important part):
Basically, if this is 'paste' and the cell where we are pasting has editor derived from Convert, and the value is text, we use this Convert to convert text to appropriate Value.
I believe that this patch is as unintrusive as it gets and should not broke anything, but 2nd opinion is always great...