mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-07-22 01:55:25 -04:00
8672f179e9
Gui elements in SceneCanvas are now independant from the zoom factor. Work in progress: NewProjectDialog. git-svn-id: svn://localhost@837 8062f311-0dae-4547-b526-b8ab9ac864a5
16 lines
336 B
C++
16 lines
336 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(string(filenames[0].mb_str()));
|
|
|
|
return true;
|
|
}
|
|
|