Add drag&drop support for Mac

This commit is contained in:
Wojtek Figat
2022-01-19 14:42:00 +01:00
parent b0e7066458
commit f4f9d92c8e
3 changed files with 130 additions and 1 deletions

View File

@@ -56,6 +56,8 @@ NSAutoreleasePool* AutoreleasePool = nullptr;
String MacUtils::ToString(CFStringRef str)
{
if (!str)
return String::Empty;
String result;
const int32 length = CFStringGetLength(str);
if (length > 0)