simplify dpi-aware coding using default argument

This commit is contained in:
Kang Yu 2023-08-02 15:52:58 -07:00
parent ed49813531
commit 3840a9108a
6 changed files with 7 additions and 7 deletions

View file

@ -11,7 +11,7 @@ namespace PersistentWindows.Common
public LayoutProfile()
{
User32.SetThreadDpiAwarenessContextSafe(User32.DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2);
User32.SetThreadDpiAwarenessContextSafe();
InitializeComponent();
}