thanks a lot, to not misunderstand:
SetItemPtrData takes now any ref? best herbert Am 28.08.2012 05:10, schrieb Mark Dootson: > Hi, > > Changes are in SVN so SetItemPtrData will be available in next release. > I applied your idea for SetItemData handling Unsigned values of any supported > length (not just longs). > > I have not changed the related method wxListItem::SetData because I could not > think of a reliable way of wrapping the two C++ overloaded methods > > SetData( long data ) > SetData( void *data ) > > So, if you want to store an unsigned value larger than 'long' can hold then > wxListCtrl::SetItemPtrData will be your only option. > > Both > wxListCtrl::GetItemData > and > wxListItem::GetData > > should correctly return any value what ever way it has been set. > > Regards > > Mark > > > > On 27/08/2012 20:52, herbert breunung wrote: >> dear mark, >> >> a friend of mine wanted to assiciate with an listitem a ref to data which is >> not the intended way in wxwidgets, good. But SetItemPtrData is not wrapped. >> i would like to see that in wxperl SetItemData can handle both and can >> foreward to both as needed and thus simplify the api >> >> thanks very much you were always very helpful >> >> PS outline of book is ready now > >