Files
GDevelop/IDE/DnDFileEditor.cpp
T
Florian 47c38f2c9f Changed all SetValue to ChangeValue, so as to prevent bugs with GTK on linux.
Some adaptations so as to compile on linux.

git-svn-id: svn://localhost@108 8062f311-0dae-4547-b526-b8ab9ac864a5
2010-05-08 19:56:57 +00:00

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;
}