Cannot add TCC permission by dragging on macOS

LIANG ZHOU <[email protected]> Tue, 4 Nov 2025 02:04:59 -0800 (PST)
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>

I created a wxStaticBitmap control and executed the following code when 
handling the wxEVT_MOTION message.

wxFileDataObject fileDataObj;
fileDataObj.AddFile(wxT("/usr/local/bin/test"));
wxDropSource dragSource(this);
dragSource.SetData(textDataObj);
dragSource.DoDragDrop();

This method cannot add an executable file to the "Full Disk Access" list in 
System Preferences.
The dnd sample program also cannot drag nodes from the file system tree to 
the "Full Disk Access" list.
How should I implement the drag source? Thanks!

-- 
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/ce2b7ad8-6b58-48be-a30a-9779052450adn%40googlegroups.com.