]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Disable unneeded window positioning calculation
authorToni Wilen <twilen@winuae.net>
Sun, 10 Dec 2023 16:46:58 +0000 (18:46 +0200)
committerToni Wilen <twilen@winuae.net>
Sun, 10 Dec 2023 16:46:58 +0000 (18:46 +0200)
od-win32/win32gui_extra.cpp

index c5bc09fb361c8d7a88db842f4a9382d71b00f7ff..f8d67158f5d0006d623bbd39c95a42ab0374eecd 100644 (file)
@@ -740,11 +740,13 @@ static HWND DIALOG_CreateIndirect(HINSTANCE hInst, LPCVOID dlgTemplate,
                {
                        pos.x += MulDiv(tmpl->x, xBaseUnit, 4);
                        pos.y += MulDiv(tmpl->y, yBaseUnit, 8);
+#if 0
                        //
                        // REACTOS : Need an owner to be passed!!!
                        //
                        if (!(tmpl->style & (WS_CHILD | DS_ABSALIGN)) && owner)
                                ClientToScreen(owner, &pos);
+#endif
                }
        }