Merge pull request #6490 from wilsonpage/add-drop-text-support
Add support for dropped text in osx
This commit is contained in:
commit
16e43a7f15
7 changed files with 27 additions and 1 deletions
|
@ -76,6 +76,10 @@ void Tray::OnDropFiles(const std::vector<std::string>& files) {
|
|||
Emit("drop-files", files);
|
||||
}
|
||||
|
||||
void Tray::OnDropText(const std::string& text) {
|
||||
Emit("drop-text", text);
|
||||
}
|
||||
|
||||
void Tray::OnDragEntered() {
|
||||
Emit("drag-enter");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue