wxListCtrl adapter for wxGrid?

Hi,

Does anybody think that an adapter that would make a wxGrid conform to the
wxListCtrl interface would be useful to have?

I have a real use for something with the features of the ListCtrl, but
this class is somewhat deprecated and buggy (apparently).

So now I'm thinking about writing an adapter for Grid so that I can drop
it in to my code that expects a List.

So my questions: Has anybody else done this? Or is there some other
solution I should be looking at?

Thanks,
Robb

Robb Shecter wrote:

Hi,

Does anybody think that an adapter that would make a wxGrid conform to the
wxListCtrl interface would be useful to have?

I have a real use for something with the features of the ListCtrl, but
this class is somewhat deprecated and buggy (apparently).

It is not deprecated, just sometimes difficult to use because it follows the MS API too closely. There have been wish list items for creating a new set of classes from scratch to be something simpler than wxListCtrl, but until that is done the wxListCtrl is here to stay.

So now I'm thinking about writing an adapter for Grid so that I can drop
it in to my code that expects a List.

So my questions: Has anybody else done this? Or is there some other
solution I should be looking at?

This would probably be useful in any case.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!