Using bitmaps with radio menu items?

Hi,

I’m trying to use bitmaps with radio menu items but I can’t get it to work. If I supply a bitmap, all radio items show that bitmap all the time, no matter whether they are selected or not. See attached example. Tested with wxPython 2.8.1 on Windows XP.

Cheers, Frank

radiomenu.py (1.12 KB)

Frank Niessink wrote:

Hi,

I'm trying to use bitmaps with radio menu items but I can't get it to work. If I supply a bitmap, all radio items show that bitmap all the time, no matter whether they are selected or not. See attached example. Tested with wxPython 2.8.1 on Windows XP.

Looks like wxGTK may have the same problem. Please enter a bug report about it.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Here it is:
https://sourceforge.net/tracker/index.php?func=detail&aid=1648278&group_id=9863&atid=109863

I didn’t make it wxPython specific, hope that’s correct.

Cheers, Frank

···

2007/1/29, Robin Dunn robin@alldunn.com:

Frank Niessink wrote:

Hi,

I’m trying to use bitmaps with radio menu items but I can’t get it to
work. If I supply a bitmap, all radio items show that bitmap all the
time, no matter whether they are selected or not. See attached example.

Tested with wxPython 2.8.1 on Windows XP.

Looks like wxGTK may have the same problem. Please enter a bug report
about it.

Frank Niessink wrote:

2007/1/29, Robin Dunn <robin@alldunn.com <mailto:robin@alldunn.com>>:

    Frank Niessink wrote:
     > Hi,
     >
     > I'm trying to use bitmaps with radio menu items but I can't get it to
     > work. If I supply a bitmap, all radio items show that bitmap all the
     > time, no matter whether they are selected or not. See attached
    example.
     > Tested with wxPython 2.8.1 on Windows XP.

    Looks like wxGTK may have the same problem. Please enter a bug report
    about it.

Here it is: https://sourceforge.net/tracker/index.php?func=detail&aid=1648278&group_id=9863&atid=109863

I didn't make it wxPython specific, hope that's correct.

Yep.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!