Re: Cannot add TCC permission by dragging on macOS

Igor Korot <[email protected]> Tue, 4 Nov 2025 05:40:10 -0800
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <CA+FnnTyQfKfP_Na5ZmM2YGPqxh9fQqEd3KzzX79fiKkVMrb6mQ@mail.gmail.com>
Hi,

On Tue, Nov 4, 2025 at 2:05 AM LIANG ZHOU <[email protected]> wrote:

> 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!
>

What’s you wx version?

Thank you.

-- 
> 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
> <https://groups.google.com/d/msgid/wx-users/ce2b7ad8-6b58-48be-a30a-9779052450adn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CA%2BFnnTyQfKfP_Na5ZmM2YGPqxh9fQqEd3KzzX79fiKkVMrb6mQ%40mail.gmail.com.