This probably doesn't matter much, but use the correct mouse position in this event, expressed in wxGrid coordinate system instead of using screen coordinates.
This probably doesn't matter much, but use the correct mouse position in this event, expressed in wxGrid coordinate system instead of using screen coordinates.