Add Windows 10 support to wxGetWinVersion() and wxGetOsDescription().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Tim Kosse
2014-12-20 10:13:21 +00:00
parent c62cbe8970
commit 1966dfb17d
2 changed files with 14 additions and 2 deletions

View File

@@ -949,6 +949,7 @@ inline wxString wxGetFullModuleName()
// 0x0601 Windows 7
// 0x0602 Windows 8 (currently also returned for 8.1 if program does not have a manifest indicating 8.1 support)
// 0x0603 Windows 8.1 (currently only returned for 8.1 if program has a manifest indicating 8.1 support)
// 0x0604 Windows 10 (currently only returned for 10 if program has a manifest indicating 10 support)
//
// for the other Windows versions 0 is currently returned
enum wxWinVersion
@@ -979,7 +980,9 @@ enum wxWinVersion
wxWinVersion_7 = 0x601,
wxWinVersion_8 = 0x602,
wxWinVersion_8_1 = 0x603
wxWinVersion_8_1 = 0x603,
wxWinVersion_10 = 0x604
};
WXDLLIMPEXP_BASE wxWinVersion wxGetWinVersion();