]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/vlbox.h
RCS-IDs
[wxWidgets.git] / interface / wx / vlbox.h
index 2f7ae80506d829425421e583ae991d5cd28b24b1..fcbb7c8a3a29cd39d7dde8af6bf77e140c0b9a25 100644 (file)
@@ -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.
@@ -277,7 +286,7 @@ public:
 
         This is just a synonym for wxVScrolledWindow::SetRowCount().
     */
-    void SetItemCount(size_t count);
+    virtual void SetItemCount(size_t count);
 
     //@{
     /**