Windows 11 on laptops with a native resolution of 1920x1080 usually sets a 125 % scaling factor, so the PPI in logical pixels (DIP) may be 127/125 ~ 100. This scaling factor should appear in the About dialog, though.
One way to check your manifest (referring to your post on wxForums) is using Resource Hacker. This is part of the manifest from C::B
<asmv3:application xmlns="urn:schemas-microsoft-com:asm.v1">
<asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">
<dpiAware>True</dpiAware>
</asmv3:windowsSettings>
</asmv3:application>
You can try using FromDIP() and ToDIP() from wxWindow.
EDIT: Strangely, your Windows version appears as "Windows II" (Windows 2 in roman numerals), not "Windows 11"; Did you edit the installation details?.