mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-23 18:45:48 -04: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;
|
|
}
|