[wxPython-users] Grid cell editing and button events (MSW)
António Barbosa \(GN/dpi\)
ab at globalnoticias.pt
Sat Sep 2 07:38:55 PDT 2006
Thanks Robin about this tip.
I was also fighting with the same problem.
>From now on, I will change ALL my buttons to GenButtons.
Anyhow I think it is a bug, because the problems persists with other contro=
ls like TextCtrl, CheckBox, ComboBox, etc.
-----Mensagem original-----
De: Robin Dunn [mailto:robin at alldunn.com]
Enviada: qua 30-08-2006 07:02
Para: wxPython-users at lists.wxwidgets.org
Assunto: Re: [wxPython-users] CreateWindowEx(...) failed
=
Robin Dunn wrote:
> The EVT_KILL_FOCUS handler for the edit control calls =
> DisableCellEditControl which calls HideCellEditControl which calls the =
> GridWindow's SetFocus. Apparently the native button on Windows won't =
> respond to the mouse click by sending the button event if it does not =
> currently have the focus. I don't know if this should be considered a =
> bug or not...
> You can also work around this by using a wx.lib.buttons.GenButton =
> instead of the native button.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2971 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20060=
902/dab72a41/attachment.bin
More information about the wxpython-users
mailing list