mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-17 15:59:59 +02:00
Merged revision(s) 43480 #faa6ee5f53 from trunk:
LCL, win32: make UpdateWindowsVersion detect Windows 8, patch by Tomasz Wieckowski, bug #25374 ........ git-svn-id: branches/fixes_1_2@43500 -
This commit is contained in:
parent
c07caddce2
commit
9cc4bbe625
@ -149,6 +149,7 @@ type
|
|||||||
wvVista,
|
wvVista,
|
||||||
//wvServer2008, // has the same major/minor as wvVista
|
//wvServer2008, // has the same major/minor as wvVista
|
||||||
wv7,
|
wv7,
|
||||||
|
wv8,
|
||||||
wvLater
|
wvLater
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -1634,6 +1635,7 @@ begin
|
|||||||
case Win32MinorVersion of
|
case Win32MinorVersion of
|
||||||
0: WindowsVersion := wvVista;
|
0: WindowsVersion := wvVista;
|
||||||
1: WindowsVersion := wv7;
|
1: WindowsVersion := wv7;
|
||||||
|
2: WindowsVersion := wv8;
|
||||||
else
|
else
|
||||||
WindowsVersion := wvLater;
|
WindowsVersion := wvLater;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user