mirror of
https://github.com/4ian/GDevelop.git
synced 2026-10-12 02:01:17 +00:00
15 lines
317 B
C++
15 lines
317 B
C++
#include "DnDFileEditor.h"
|
|
#include "MainFrame.h"
|
|
|
|
bool DnDFileEditor::OnDropFiles(wxCoord x, wxCoord y,
|
|
const wxArrayString& filenames)
|
|
{
|
|
|
|
size_t nFiles = filenames.GetCount();
|
|
if ( nFiles < 1 ) return false;
|
|
|
|
mainEditor.Open(filenames[0]);
|
|
|
|
return true;
|
|
}
|