RE: Cannot add TCC permission by dragging on macOS
"'Stefan Csomor' via wx-users" <[email protected]> Fri, 7 Nov 2025 21:54:51 +0000
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <[email protected]> |
Hi
are you sure you copied the real code ? you set up a fileDataObj but set the drag to a textDataObj which would explain the problem as the fileDataObj should in wxDF_FILENAME which should be translated to kUTTypeFileURL
wxFileDataObject fileDataObj;
fileDataObj.AddFile(wxT("/usr/local/bin/test"));
wxDropSource dragSource(this);
dragSource.SetData( -> textDataObj <-);
dragSource.DoDragDrop();
Best,
Stefan
--
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
---
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/wx-users/c033df6e5e3d4d69a19e700d374b221c%40advancedconcepts.ch.