[wx-dev] Alignment and size problems with owner draw menus
(Windows)
David Barnard
david at didactylos.net
Tue Jul 15 21:54:27 PDT 2008
Not really. The margin should really be a property of the parent
list/menu, and that's a bigger change than I contemplated. The current
code works because MeasureItem() is called for each item before any
are drawn, and also only one menu is visible at once. Having all
future menus drawn with the same wider margin is supposed to be a
feature, I think.
If you decide to fix it, my changes should make it easier, since the
margin works exactly as expected now.
I can't replicate 3953, 4608 or 3348.
David Barnard
On Wed, Jul 16, 2008 at 12:18 AM, Vadim Zeitlin <vadim at wxwidgets.org> wrote:
> On Tue, 15 Jul 2008 11:48:09 +0100 David Barnard <david at didactylos.net> wrote:
>
> DB> I found an inconsistency with MSW owner draw menu items, so I tried to
> DB> correct it.
>
> Thanks a lot for looking into this, this code really needs to be revised
> and I'm going to look into your changes a.s.a.p.
>
> In the meanwhile, could you please test if it helps with the existing bug
> reports about this? I don't remember them all unfortunately but 3348, 3953,
> 4068 and 4608 could be relevant.
>
> TIA,
> VZ
>
> _______________________________________________
> wx-dev mailing list
> wx-dev at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wx-dev
>
More information about the wx-dev
mailing list