avoiding doubleclick events in custom control

Rooney, Mike (ext. 324) mxr at qvii.com
Mon Feb 5 06:22:26 PST 2007


>Thanks a lot for your detailed answer, I was still hoping that a simple solution
>was available in wx "out of the box", but I'll go for your solution!

I am not sure of your specific needs but why not as someone suggested just bind
the double click event handler to the normal event handler? The first click
of a double click is still treated as a single click, and then the second one would
also be since it has the same event handler. Isn't this what you want?




More information about the wx-users mailing list