Revert "Fixes build failure on Mac OS X 10.10 Yosemite Beta due to highgui/src/window_cocoa.mm (Bug #3737)"

This reverts commit 56683e6d11.
This commit is contained in:
Mike Maraya 2014-06-27 08:20:22 -04:00
parent 56683e6d11
commit 5c85f816c9

View File

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