Recognize Windows 8 and 8.1 in wxGetOsDescription().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2013-11-23 15:10:57 +00:00
parent 458b528a35
commit f2bbf083c6

View File

@@ -1301,6 +1301,18 @@ wxString wxGetOsDescription()
? _("Windows Server 2008 R2")
: _("Windows 7");
break;
case 2:
str = wxIsWindowsServer() == 1
? _("Windows Server 2012")
: _("Windows 8");
break;
case 3:
str = wxIsWindowsServer() == 1
? _("Windows Server 2012 R2")
: _("Windows 8.1");
break;
}
break;
}