45 virtual bool OnDropFiles(wxCoord , wxCoord ,
const wxArrayString& filenames)
override
47 if (IsGUIAboutToQuit() or GUIIsLock())
54 for (uint i = 0; i != (uint)filenames.size(); ++i)
56 wxStringToString(filenames[i], filename);
61 if (not folder.empty())
64 Dispatcher::StudyOpen(folder);
67 logs.warning() <<
"The folder provided by drag & drop is not a valid study: "
static bool IsInsideStudyFolder(const AnyString &path, YString &location, YString &title)
Check if a path is within a study folder.
Definition study.extra.cpp:114