Merge pull request #2908 from mmaraya:bug_3737

This commit is contained in:
Vadim Pisarevsky 2014-07-07 13:29:38 +00:00
commit 39127d942e

View File

@ -151,7 +151,7 @@ CV_IMPL int cvInitSystem( int , char** )
#define NSAppKitVersionNumber10_5 949
#endif
if( floor(NSAppKitVersionNumber) > NSAppKitVersionNumber10_5 )
[application setActivationPolicy:0/*NSApplicationActivationPolicyRegular*/];
[application setActivationPolicy:NSApplicationActivationPolicyRegular];
#endif
//[application finishLaunching];
//atexit(icvCocoaCleanup);