]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/dnd.cpp
typo fixed: should be lpthread, not -lpthread in THREAD_OPTS
[wxWidgets.git] / src / mac / dnd.cpp
index cfe9297e3c3147f4c57f9c8c92de38d50291b421..7ab73a19d11fa3b70ab19ea54994f5689437b44c 100644 (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
                   {