change in wxFileDataObject::SetData behaviour broke DnD of multiple files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2002-04-09 13:51:04 +00:00
parent 677eff077e
commit 3538f4df99
2 changed files with 2 additions and 2 deletions

View File

@@ -211,7 +211,7 @@ bool wxDropTarget::GetData()
{
HFSFlavor* theFile = (HFSFlavor*) theData ;
wxString name = wxMacFSSpec2MacFilename( &theFile->fileSpec ) ;
m_dataObject->SetData( format , name.Length() + 1, name ) ;
((wxFileDataObject*)m_dataObject)->AddFile( name ) ;
}
else
{

View File

@@ -211,7 +211,7 @@ bool wxDropTarget::GetData()
{
HFSFlavor* theFile = (HFSFlavor*) theData ;
wxString name = wxMacFSSpec2MacFilename( &theFile->fileSpec ) ;
m_dataObject->SetData( format , name.Length() + 1, name ) ;
((wxFileDataObject*)m_dataObject)->AddFile( name ) ;
}
else
{