MacOS document permissions, is there a way to detect these before the app starts?

Tony Kennedy <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
Hi all,

On MacOS, I've got a user that clicked "No" to "Allow access to the 
documents folder" when the app started up. The application crashes. I'd 
prefer to put up a note saying "Cannot start, permissions problem".

I tried putting a breakpoint in "wxApp::OnInit()" to see if I could somehow 
detect if the app had permissions to start. But the app crashes before this 
point.

Does anyone know if there is there a way to do this using wx? 

Thanks in advance,

Tony.


-- 
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 on the web visit https://groups.google.com/d/msgid/wx-users/4065a399-87f6-4adb-b16e-b4c836dbc1a4n%40googlegroups.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.