used really drag file extension

This commit is contained in:
jerry 2014-04-17 17:25:41 +00:00
parent de65f71312
commit 7b8cdb6b38
5 changed files with 20 additions and 5 deletions

View file

@ -2080,7 +2080,7 @@ COSXScreen::fakeDraggingFiles(CString str)
m_fakeDraggingStarted = true;
#if defined(MAC_OS_X_VERSION_10_7)
// TODO: use real file extension
fakeDragging("txt", 3, m_xCursor, m_yCursor);
fakeDragging(str.c_str(), m_xCursor, m_yCursor);
#else
LOG((CLOG_WARN "drag drop not supported"));
#endif