Fix wxGetWinVersion() 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 15:04:33 +02:00
parent c87c432033
commit a8c98a1191
2 changed files with 6 additions and 5 deletions

View File

@@ -1391,10 +1391,11 @@ wxWinVersion wxGetWinVersion()
case 3:
return wxWinVersion_8_1;
case 4:
return wxWinVersion_10;
}
}
break;
case 10:
return wxWinVersion_10;
}
default:
// Do nothing just to silence GCC warning