Fix wxGetOsDescription() for Windows 10.

Check for Windows 10 was implemented as check for version 6.4 but the final
version of Windows 10 actually returns 10.0.
This commit is contained in:
Tobias Taschner
2015-08-04 13:23:25 +02:00
committed by Vadim Zeitlin
parent e97bd98e18
commit c87c432033
2 changed files with 7 additions and 6 deletions

View File

@@ -1224,14 +1224,14 @@ wxString wxGetOsDescription()
? _("Windows Server 2012 R2")
: _("Windows 8.1");
break;
case 4:
str = wxIsWindowsServer() == 1
? _("Windows Server 10")
: _("Windows 10");
break;
}
break;
case 10:
str = wxIsWindowsServer() == 1
? _("Windows Server 10")
: _("Windows 10");
break;
}
if ( str.empty() )