wxMenuItem and highlight color

Vadim Zeitlin vadim at wxwidgets.org
Sat Jan 5 16:03:03 PST 2008


On Sat, 5 Jan 2008 15:55:19 -0800 (PST) becele at gmail.com wrote:

> Is there any way to change the highlighted color of a menu item (text
> and background)?

 No, currently there is no way to do it. It shouldn't be difficult to
make a patch allowing setting these colours for wxMSW (see the code in
wxOwnerDrawn::OnDrawItem() in src/msw/ownerdrw.cpp) however.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/




More information about the wx-users mailing list