Size of Item of a wxSimpleHtmlListbox
Alejandro
ahmostovoi at gmail.com
Fri May 23 09:35:31 PDT 2008
Hi,
How could I solve this now? I mean, How could I get the item's size?
Thanks
Alejandro.
-------- Mensaje original --------
Asunto: Re: Size of Item of a wxSimpleHtmlListbox
De: Vadim Zeitlin <vadim at wxwidgets.org>
Para: wx-users at lists.wxwidgets.org
Fecha: 22/05/2008 07:12 p.m.
> On Thu, 22 May 2008 16:12:11 -0300 Alejandro <ahmostovoi at gmail.com> wrote:
>
> A> I need to know the size(width, height) of an item of a
> A> wxSimpleHtmlListBox, and I tried to used the method
> A> wxVListBox::OnMeasureItem but is protected. Is that ok?
>
> Yes. This method is not meant to be called by you but only by the class
> itself. It's true that getting the item position and size can be useful but
> this is not currently supported, we'd need to add wxVListBox::GetItemRect()
> to allow this. Any patches implementing it would be gratefully accepted.
>
> Regards,
> VZ
>
More information about the wx-users
mailing list