cocoa: allow calling CreateWindowFrom on an NSView

This lets applications embed SDL with other widgets surrounding it.
Already possible on Windows and X11.

Fixes Bugzilla #5060.

--HG--
extra : rebase_source : 4e31c8c5b15cf001b3f4eae63d79e1620b351b67
4 files changed