mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 09:59:23 +02:00
LCL, win32: make UpdateWindowsVersion detect Windows 8, patch by Tomasz Wieckowski, bug #25374
git-svn-id: trunk@43480 -
This commit is contained in:
parent
8c91bab6ee
commit
faa6ee5f53
@ -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