fix: showMessageDialog should center dialog to parent (#48181)

This commit is contained in:
Shelley Vohr
2025-08-29 09:56:51 +02:00
committed by GitHub
parent 5d5e672f17
commit 7373173e44

View File

@@ -160,6 +160,7 @@ DialogResult ShowTaskDialogWstr(gfx::AcceleratedWidget parent,
if (parent) {
config.hwndParent = parent;
config.dwFlags |= TDF_POSITION_RELATIVE_TO_WINDOW;
}
if (default_id > 0)