Recognize Windows 8 and 8.1 in wxGetOsDescription().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f2aeb35d0c
commit
51b92b2084
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user