[wx-dev] #9711: Functionality to get the item rect from a wxVListBox
wxTrac
noreply at wxsite.net
Tue Jul 8 14:03:28 PDT 2008
Ticket URL: <http://trac.wxwidgets.org/ticket/9711>
#9711: Functionality to get the item rect from a wxVListBox
-------------------------+--------------------------------------------------
Reporter: Javierurien | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: GUI-generic | Version:
Keywords: | Blockedby:
Patch: 0 | Blocking:
-------------------------+--------------------------------------------------
This patch adds the method wxVListBox::GetItemRect(size_t n). This method
allows client code to meassure the window rect of an item.
I added this method as per the mail from Vadim
(http://lists.wxwidgets.org/pipermail/wx-users/2008-May/107781.html)
It is based on the paint code of the same class.
Restrictions:
* Item must be visible, otherwise, height results == 0
I couldn't find the /interface directory mentioned HowToSubmitPatches
--
Ticket URL: <http://trac.wxwidgets.org/ticket/9711>
More information about the wx-dev
mailing list