reintroduced AXIsProcessTrusted call, shouldn't break ax stuff

This commit is contained in:
Nick Bolton 2014-03-17 17:25:18 +00:00
parent 41c1319134
commit 826cd7e60b
1 changed files with 3 additions and 3 deletions

View File

@ -119,9 +119,9 @@ COSXScreen::COSXScreen(IEventQueue* events, bool isPrimary, bool autoShowHideCur
#if defined(MAC_OS_X_VERSION_10_9) #if defined(MAC_OS_X_VERSION_10_9)
// we can't pass options to show the dialog, this must be done by the gui. // we can't pass options to show the dialog, this must be done by the gui.
//if (!AXIsProcessTrusted()) { if (!AXIsProcessTrusted()) {
// throw XArch("assistive devices does not trust this process, allow it in system settings."); throw XArch("assistive devices does not trust this process, allow it in system settings.");
//} }
#else #else
// now deprecated in mavericks. // now deprecated in mavericks.
if (!AXAPIEnabled()) { if (!AXAPIEnabled()) {