summaryrefslogtreecommitdiff
path: root/wx+/file_drop.h
diff options
context:
space:
mode:
Diffstat (limited to 'wx+/file_drop.h')
-rwxr-xr-xwx+/file_drop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/wx+/file_drop.h b/wx+/file_drop.h
index 35b7ca9e..526ee64d 100755
--- a/wx+/file_drop.h
+++ b/wx+/file_drop.h
@@ -39,7 +39,7 @@ extern const wxEventType EVENT_DROP_FILE;
class FileDropEvent : public wxCommandEvent
{
public:
- FileDropEvent(const std::vector<Zstring>& droppedPaths) : wxCommandEvent(EVENT_DROP_FILE), droppedPaths_(droppedPaths) {}
+ FileDropEvent(const std::vector<Zstring>& droppedPaths) : wxCommandEvent(EVENT_DROP_FILE), droppedPaths_(droppedPaths) { StopPropagation(); }
const std::vector<Zstring>& getPaths() const { return droppedPaths_; }
bgstack15