mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-08-25 12:23:58 -04:00
9203fab207
git-svn-id: svn://localhost@6 8062f311-0dae-4547-b526-b8ab9ac864a5
15 lines
340 B
C++
15 lines
340 B
C++
#include "DnDFileEditor.h"
|
|
#include "Game_Develop_EditorMain.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].mb_str());
|
|
|
|
return true;
|
|
}
|