X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..8b385bf892c1f831965313eaf3ee59b10b435afd:/interface/wx/vlbox.h diff --git a/interface/wx/vlbox.h b/interface/wx/vlbox.h index d376222010..097b3a5718 100644 --- a/interface/wx/vlbox.h +++ b/interface/wx/vlbox.h @@ -8,7 +8,6 @@ /** @class wxVListBox - @wxheader{vlbox.h} wxVListBox is a wxListBox-like control with the following two main differences from a regular wxListBox: it can have an arbitrarily huge @@ -126,6 +125,15 @@ public: */ wxPoint GetMargins() const; + /** + Returns the rectangle occupied by this item in physical coordinates. + + If the item is not currently visible, returns an empty rectangle. + + @since 2.9.0 + */ + wxRect GetItemRect(size_t item) const; + /** Returns the index of the next selected item or @c wxNOT_FOUND if there are no more.