[wx-dev] wxMSW: owner-drawn menu changes
Robin Dunn
robin at alldunn.com
Mon Jan 29 13:01:04 PST 2007
Vadim Zeitlin wrote:
> On Fri, 26 Jan 2007 11:31:50 -0800 Robin Dunn <robin at alldunn.com> wrote:
>
> RD> I also tried not setting MIIM_BITMAP and mii.hbmpItem if the item is
> RD> checkable in case they are mutually exclusive, but that still resulted
> RD> in the debug log message.
> RD>
> RD> Any other ideas?
>
> Not really, this was the only thing I could think of. I was surprised that
> this code worked for me when setting both MIIM_BITMAP and MIIM_CHECKMARKS
> simultaneously as it was just a first test and I thought I'd have to change
> it but everything did work for me (I'm quite sure I tested your test case
> as well, it seems this is yet another difference between Windows 2003 and
> XP...). As a last try, what happens if you keep MIIM_BITMAP but set
> hbmpItem to a valid bitmap?
I still get the log message, but the menu appears to draw and behave
correctly.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wx-dev
mailing list