diff options
author | B. Stack <bgstack15@gmail.com> | 2023-01-22 13:56:55 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-01-22 13:56:55 -0500 |
commit | 75e05bc441382db69c842a64c562738cb749214e (patch) | |
tree | 698b60b3b4b914bf7958cf1174d0373909bf1e8f /wx+/file_drop.cpp | |
parent | add upstream 11.29 (diff) | |
download | FreeFileSync-75e05bc441382db69c842a64c562738cb749214e.tar.gz FreeFileSync-75e05bc441382db69c842a64c562738cb749214e.tar.bz2 FreeFileSync-75e05bc441382db69c842a64c562738cb749214e.zip |
add upstream 12.0
Diffstat (limited to 'wx+/file_drop.cpp')
-rw-r--r-- | wx+/file_drop.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wx+/file_drop.cpp b/wx+/file_drop.cpp index 86db57c1..cd233c56 100644 --- a/wx+/file_drop.cpp +++ b/wx+/file_drop.cpp @@ -60,8 +60,7 @@ private: filePaths.push_back(utfTo<Zstring>(file)); //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(filePaths)); + dropWindow_.GetEventHandler()->AddPendingEvent(FileDropEvent(filePaths)); return true; } |