Menu

#29 wxListView XRC Handler.

pending-fixed
7
2011-09-26
2010-11-04
Anonymous
No

It would be nice to have a wxListView XRC handler in the official build. It should be fairly easy to implement... just copy from xh_listc.cpp and xh_listc.h. That way we could actually take advantage of wxListView from an XRC file.

I am surprised this is not already done. wxListView has been out for a while and the docs encourage its use saying that direct access to wxListCtrl may one day go away.

Thanks,
Caymran

Discussion

  • Ronan Chartois

    Ronan Chartois - 2010-11-05

    wxListView is a core wxWidget class, not a wxCode component. So unless you meant wxTreeListCtrl, you are probably talking to the wrong people! Please let us know.

    Either way I would keep that ticket for wxTreeListCtrl as a reminder to add XRC support. Anybody else interested in that feature ?

     
  • Ronan Chartois

    Ronan Chartois - 2010-11-05
    • assigned_to: nobody --> pgriddev
    • status: open --> open-remind
     
  • Nobody/Anonymous

    Gotcha, thanks. I resubmitted my question on wxWidgets\general dev. Also reading up on 2.9.2 it looks like wxDataViewListCtrl\wxDataViewTreeCtrl will supplant this anyway (although it lacks XRC handlers at the moment also).

    Thank you for the help and sorry for posting to the wrong people.
    Caymran

     
  • Ronan Chartois

    Ronan Chartois - 2010-11-10
    • priority: 5 --> 6
    • status: open-remind --> open-accepted
     
  • Ronan Chartois

    Ronan Chartois - 2010-11-10

    Okay, keeping the ticket open anyway, will implement time allowing
    I guess that XRC is important enough, but as nobody else requested the feature I'm leaving the default priority

     
  • Ronan Chartois

    Ronan Chartois - 2010-11-10
    • priority: 6 --> 5
     
  • Ronan Chartois

    Ronan Chartois - 2011-05-30
    • priority: 5 --> 7
     
  • Ronan Chartois

    Ronan Chartois - 2011-05-30

    got a second request for this feature per email a few days ago, raising priority.
    Implementation between now and this Summer (hopefully)

     
  • Ronan Chartois

    Ronan Chartois - 2011-09-26

    implemented and checked in this day.
    (For the most part I copied the sample I got from Pascal Potvin --thanks Pascal!)

    Note: this feature was not tested, please let me know the result (positive or negative) if you use it.

     
  • Ronan Chartois

    Ronan Chartois - 2011-09-26
    • status: open-accepted --> pending-fixed
     

Log in to post a comment.