summaryrefslogtreecommitdiff
path: root/wx+/file_drop.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2015-10-02 14:52:04 +0200
committerDaniel Wilhelm <daniel@wili.li>2015-10-02 14:52:04 +0200
commit1845c028b8cb8496d1d78f0da738120e1c31401a (patch)
treeadf9fb436aea09be367aef8ed3b6cdbf6a46e34c /wx+/file_drop.h
parent6.7 (diff)
downloadFreeFileSync-1845c028b8cb8496d1d78f0da738120e1c31401a.tar.gz
FreeFileSync-1845c028b8cb8496d1d78f0da738120e1c31401a.tar.bz2
FreeFileSync-1845c028b8cb8496d1d78f0da738120e1c31401a.zip
6.8
Diffstat (limited to 'wx+/file_drop.h')
-rw-r--r--wx+/file_drop.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/wx+/file_drop.h b/wx+/file_drop.h
index 5a28096d..47019a04 100644
--- a/wx+/file_drop.h
+++ b/wx+/file_drop.h
@@ -87,11 +87,11 @@ public:
private:
virtual bool OnDropFiles(wxCoord x, wxCoord y, const wxArrayString& fileArray)
{
- std::vector<wxString> filenames(fileArray.begin(), fileArray.end());
- if (!filenames.empty())
+ std::vector<wxString> filepaths(fileArray.begin(), fileArray.end());
+ if (!filepaths.empty())
//create a custom event on drop window: execute event after file dropping is completed! (after mouse is released)
if (wxEvtHandler* handler = dropWindow_.GetEventHandler())
- handler->AddPendingEvent(FileDropEvent(filenames, dropWindow_, wxPoint(x, y)));
+ handler->AddPendingEvent(FileDropEvent(filepaths, dropWindow_, wxPoint(x, y)));
return true;
}
bgstack15