X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..8b385bf892c1f831965313eaf3ee59b10b435afd:/interface/wx/vlbox.h diff --git a/interface/wx/vlbox.h b/interface/wx/vlbox.h index 2f7ae80506..097b3a5718 100644 --- a/interface/wx/vlbox.h +++ b/interface/wx/vlbox.h @@ -125,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.