Merge branch 'master' into webview_script_message

This commit is contained in:
Tobias Taschner
2021-03-01 09:57:13 +01:00
committed by GitHub
23 changed files with 477 additions and 296 deletions

View File

@@ -1270,10 +1270,10 @@ void DnDFrame::OnUsePrimary(wxCommandEvent& event)
#if wxUSE_DRAG_AND_DROP
void DnDFrame::OnBeginDrag(wxTreeEvent& WXUNUSED(event))
void DnDFrame::OnBeginDrag(wxTreeEvent& event)
{
wxFileDataObject data;
data.AddFile(m_ctrlDir->GetPath());
data.AddFile(m_ctrlDir->GetPath(event.GetItem()));
wxDropSource dragSource(this);
dragSource.SetData(data);