Which states:
* For applications that have been manifested for Windows 8.1 or Windows 10. Applications not manifested for Windows 8.1 or Windows 10 will return the Windows 8 OS version value (6.2). To manifest your applications for Windows 8.1 or Windows 10, refer to Targeting your application for Windows.
I don't really know how to do this with exe's not build with msvc.
This becuase that is how windows works. For newer window's a so called manifest file is needed.
As mentioned in the wx API doc, it links to: /docs.microsoft .com/en- us/windows/ desktop/ SysInfo/ operating- system- version
https:/
Which states:
* For applications that have been manifested for Windows 8.1 or Windows 10. Applications not manifested for Windows 8.1 or Windows 10 will return the Windows 8 OS version value (6.2). To manifest your applications for Windows 8.1 or Windows 10, refer to Targeting your application for Windows.
I don't really know how to do this with exe's not build with msvc.