Itseez/opencv — pull request #1256 by kamjagin (2013-08-13 08:37:51+00:00)
Title: Fixed elif/elseif error that made highgui-windows fail on mac+cocoa.

Moved from master to 2.4 after comments from Roman Donchenko.

Fix for bug that excludes cocoa from build on OSX