[wxPython-users] col labels not right, event firing after the fact?

Chris Mellon arkanes at gmail.com
Tue Jul 24 07:21:01 PDT 2007


On 7/23/07, Tim doe <myfirstmullet at gmail.com> wrote:
> the first click gets lost. I've fixed it with a hack for the moment by
> manually setting the cursor position using event, but if there's a better
> way i'm all ears?
>

It's because you're accessing the current cell by looking at the
cursor position, but the cursor position isn't set until the base
class event handling happens. Retrieve the information from the event
object instead.




More information about the wxpython-users mailing list