Fixed drag and drop not showing correct path, specifically under GTK-3. (#520)

This commit is contained in:
El Mostafa Idrassi 2019-10-15 23:43:34 +01:00 committed by Mounir IDRASSI
parent 2675a9c60e
commit c90b45f88c
3 changed files with 0 additions and 6 deletions

View File

@ -59,10 +59,8 @@ namespace VeraCrypt
SetDropTarget (new FileDropTarget (this));
KeyfilesListCtrl->SetDropTarget (new FileDropTarget (this));
#ifdef TC_MACOSX
foreach (wxWindow *c, GetChildren())
c->SetDropTarget (new FileDropTarget (this));
#endif
UpdateButtons();
}

View File

@ -393,10 +393,8 @@ namespace VeraCrypt
};
SetDropTarget (new FileDropTarget (this));
#ifdef TC_MACOSX
foreach (wxWindow *c, MainPanel->GetChildren())
c->SetDropTarget (new FileDropTarget (this));
#endif
// Volume history
VolumeHistory::ConnectComboBox (VolumePathComboBox);

View File

@ -159,10 +159,8 @@ namespace VeraCrypt
if (enableKeyfiles)
{
SetDropTarget (new FileDropTarget (this));
#ifdef TC_MACOSX
foreach (wxWindow *c, GetChildren())
c->SetDropTarget (new FileDropTarget (this));
#endif
}
Layout();