diff options
author | B Stack <bgstack15@gmail.com> | 2020-08-31 20:07:13 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-08-31 20:07:13 -0400 |
commit | 8a27fa9c617533e76673ce61a65e2ba869b52208 (patch) | |
tree | acfdfb3e1046db87040477033fda0df76d92916a /wx+/file_drop.cpp | |
parent | Merge branch '11.0' into 'master' (diff) | |
download | FreeFileSync-8a27fa9c617533e76673ce61a65e2ba869b52208.tar.gz FreeFileSync-8a27fa9c617533e76673ce61a65e2ba869b52208.tar.bz2 FreeFileSync-8a27fa9c617533e76673ce61a65e2ba869b52208.zip |
add upstream 11.1
Diffstat (limited to 'wx+/file_drop.cpp')
-rw-r--r-- | wx+/file_drop.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/wx+/file_drop.cpp b/wx+/file_drop.cpp index 938f9dbd..42cfbd3d 100644 --- a/wx+/file_drop.cpp +++ b/wx+/file_drop.cpp @@ -13,7 +13,10 @@ using namespace zen; -const wxEventType zen::EVENT_DROP_FILE = wxNewEventType(); +namespace zen +{ +wxDEFINE_EVENT(EVENT_DROP_FILE, FileDropEvent); +} @@ -23,7 +26,7 @@ namespace class WindowDropTarget : public wxFileDropTarget { public: - WindowDropTarget(const wxWindow& dropWindow) : dropWindow_(dropWindow) {} + explicit WindowDropTarget(const wxWindow& dropWindow) : dropWindow_(dropWindow) {} private: wxDragResult OnDragOver(wxCoord x, wxCoord y, wxDragResult def) override |