wxMenuBar::GetLabelTop inconsistency
Julian Smart
julian at anthemion.co.uk
Fri Aug 3 02:32:06 PDT 2007
Hi,
A wxWidgets user (NCBI) has pointed out that wxMenuBar::GetLabelTop()
strips the menu codes, whereas wxMenu::GetLabel() doesn't. This is a
problem for them because they need to merge UI elements and thus require
the original labels.
My suggestion is to make GetLabelTop() return the original label in 2.9,
and in 2.8 have a wxSystemOption to let apps tell wxWidgets that
GetLabelTop() should return the raw label.
Does that sound acceptable?
Thanks,
Julian
--
Julian Smart, Anthemion Software Ltd.
28/5 Gillespie Crescent, Edinburgh, Midlothian, EH10 4HU
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
wxWidgets RAD: www.anthemion.co.uk/dialogblocks
More information about the wx-dev
mailing list