git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15052
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
HFSFlavor* theFile = (HFSFlavor*) theData ;
wxString name = wxMacFSSpec2MacFilename( &theFile->fileSpec ) ;
- m_dataObject->SetData( format , name.Length() + 1, name ) ;
+ ((wxFileDataObject*)m_dataObject)->AddFile( name ) ;
}
else
{
{
HFSFlavor* theFile = (HFSFlavor*) theData ;
wxString name = wxMacFSSpec2MacFilename( &theFile->fileSpec ) ;
- m_dataObject->SetData( format , name.Length() + 1, name ) ;
+ ((wxFileDataObject*)m_dataObject)->AddFile( name ) ;
}
else
{