Actually, someone (off the list) pointed out that you don’t really need to set both bitmaps. Instead of making it a checkable item, you can just alternate the bitmaps every time the user selects the option. A bit of a work-around, but I’m just glad it works.
Gre7g
···
On 5/14/08, Robin Dunn robin@alldunn.com wrote:
I’m trying to make a checkable menu item that has one image for checked and one image for unchecked, but it doesn’t seem to work. SetBitmaps returns without an error, but doesn’t seem to have an effect. It seems I can only have a checkmark/nothing or a single bitmap/nothing based on checked status.
I can cook up a short demo if that would help.
I’m running Python 2.4.3 on Windows XP with wxPython 2.8.4.0
Gre7g Luterman wrote:
This sounds familiar, but I don’t remember details. You may want to try 2.8.7.1.