Tue Mar 31 15:29:42 2015: Request 103235 was acted upon.
Transaction: Ticket created by ro...@metsci.com
       Queue: Wx
     Subject: Support for TreeListCtrl->EnsureVisible(item)
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: ro...@metsci.com
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=103235 >


Hi, I have a Wx pull request pending that adds support for 
wxTreeListCtrl::EnsureVisible.
https://github.com/wxWidgets/wxWidgets/pull/22


Perhaps it's premature to request the corresponding wxperl change, but I'm 
using it locally and hope to find it incorporated upstream in a future release.

Thanks.


diff --git a/interface/wx/treelist.h b/interface/wx/treelist.h
index 96678c6..d8cb794 100644
--- a/interface/wx/treelist.h
+++ b/interface/wx/treelist.h
@@ -211,6 +211,8 @@ wxTreeListCtrl::GetImageList()

     bool IsExpanded(wxTreeListItem item) const;

+    void EnsureVisible(wxTreeListItem item);
+
     wxTreeListItem GetSelection() const;

 %{


Reply via email to