wxMenu and custom bitmap bug in check items after submenues

Carsten Henßinger henssinger at web.de
Fri May 30 00:38:57 PDT 2008


Hello,

I have a problem with wxWidgets 2.8.6 under Windows: I build a menu containing check items, dividers and some submenues containing check items. The check items have custom bitmaps, which I set set with SetBitmaps(), in order to simulate 3 states (checked, unchecked and mixed states in multi selections). The menu is a context menu that gets constructed every time the menu is opened.
Now to my problem: the first time I open the menu, everything looks fine, but when I open it a second or third time, every check item immediately following a submenu entry does not display my custom bitmaps, but the default bitmap. Is this a known issue? Is it fixed in a newer version? Is there a workaround or hotfix for this problem?

Cheers,
Carsten

_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114



More information about the wx-users mailing list