X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d9b77552eeb78e0c7ee903aa265dc187651ff57..cf471cab8277f4cc2c19bce417356badf9e2ca49:/src/motif/window.cpp diff --git a/src/motif/window.cpp b/src/motif/window.cpp index 8595126325..204e0a0bff 100644 --- a/src/motif/window.cpp +++ b/src/motif/window.cpp @@ -1378,9 +1378,9 @@ void wxWindow::SetSizeHints(int minW, int minH, int maxW, int maxH, int incW, in void wxWindow::DoMoveWindow(int x, int y, int width, int height) { - XtVaSetValues(GetWidget(), - XmNx, xx, - XmNy, yy, + XtVaSetValues((Widget)GetTopWidget(), + XmNx, x, + XmNy, y, XmNwidth, width, XmNheight, height, NULL);