How do I make a button with a bitmap? Occasionally, you'll want a picture on your button, rather than a text label. In wxPython, use the class wx.BitmapButton to create a button with a picture. The ...
sets that button to enable (False), keyboard events seem to be 'swallowed' by that button. If I set the focus onto another button (not another panel), then things work again. The desired effect was to ...