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:
@@ -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
|
||||
{
|
||||
|
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user