BitmapButton shows focus erroneously
Jeffrey Barish
jeff_barish at earthlink.net
Fri Jun 2 18:17:57 PDT 2006
Consider the attached program. The BitmapButton has a left arrow (taken
from the demo program). It changes to a right arrow when the button has
focus. The button should never have focus because the handler for the set
focus event assigns the focus to the TextCtrl. However, if you click on
the button or hit tab, the button will show the telltale dashed line
indicating that it has focus and the bitmap will change to the right arrow.
It doesn't really have focus, though, as keyboard input still goes to the
TextCtrl. The BitmapButton seems to be in a strange state where it thinks
that it has focus but doesn't.
--
Jeffrey Barish
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wx-test16a.py
Type: application/x-python
Size: 7936 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20060602/238eec60/wx-test16a.bin
More information about the wxpython-users
mailing list