Hi all
I''m having a go at porting the Clipboard and DnD classes, going OK, but
have hit a snag where I could use your help.
I''ve added several relevant classes, but now I have on OS X missing
symbols:
wxDataObjectBase::GetDataHere(wxDataFormat const&, void*) const
wxDataObjectBase::GetDataSize(wxDataFormat const&) const
DataObjectBase is an internal base class for DataObject. It''s defined
in
the platform-neutral wx/dataobj.h, which has
class WXDLLEXPORT wxDataObjectBase
{
...
// get the (total) size of data for the given format
virtual size_t GetDataSize(const wxDataFormat& format) const = 0;
// copy raw data (in the specified format) to the provided buffer,
return
// true if data copied successfully, false otherwise
virtual bool GetDataHere(const wxDataFormat& format, void *buf)
const = 0;
wx/dataobj.h then includes a platform-specific header file; on OS X, the
relevant content is:
class WXDLLEXPORT wxDataObject : public wxDataObjectBase
with no further declaration of GetDataSize in there, except later in
derived classes (eg DataObjectSimple)
I''m a bit stuck as to what''s going on here - is the missing
symbol b/c
there''s no Ruby class called DataObjectBase? Is there some way I can
work round this.
TIA
alex