mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-22 01:55:25 -04:00
47c38f2c9f
Some adaptations so as to compile on linux. git-svn-id: svn://localhost@108 8062f311-0dae-4547-b526-b8ab9ac864a5
15 lines
348 B
C++
15 lines
348 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(string(filenames[0].mb_str()));
|
|
|
|
return true;
|
|
}
|