Include macOS 11 name in wxGetOsDescription() (#1918)

This commit is contained in:
Tobias Taschner
2020-06-30 18:14:19 +02:00
committed by GitHub
parent 72565cf195
commit d881f2e72b

View File

@@ -108,6 +108,15 @@ wxString wxGetOsDescription()
break; break;
}; };
} }
else if (majorVer > 10)
{
switch (majorVer)
{
case 11:
osName = "Big Sur";
break;
}
}
#else #else
wxString osBrand = "iOS"; wxString osBrand = "iOS";
wxString osName; wxString osName;