[wxPython] wxDataObject::GetDataHere missing a typemap (I think)

Although I have decided to use another approach, figured I would report this
error:

# both source and target use this code to create their data objects...
...
data = wxDataObjectComposite()
for format in formats:
    data.Add( wxCustomDataObject(wxCustomDataFormat(format)) )

# here is what the source uses to pack the data
...
if len(formats) > 1:
    holder.SetData( self.id )
    for format in formats:
        holder.SetData( wxCustomDataFormat(format), len(self.id), self.id )
else:
    holder.SetData( self.id )

···

#
    def OnData(self, x, y, d):
        if self.GetData():
            # convert it back to a list of lines and give it to the viewer
            s = self.data.GetDataHere(wxCustomDataFormat(self.format[0]))
        return d

The GetDataHere asks for a buffer, I'm assuming the type map would require
doing a GetDataSize allocating the buffer and then returning it as a python
string.

Enjoy,
Mike
__________________________________
Mike C. Fletcher
Designer, VR Plumber
http://members.home.com/mcfletch

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users