]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/window.cpp
made unzip.c accept / and \ in filenames as equal
[wxWidgets.git] / src / motif / window.cpp
index 8595126325a069b23ee78bed0ea9312baa1da0e2..204e0a0bff862a70bb2f2f4c632937559954bf08 100644 (file)
@@ -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)
 {
 
 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);
                   XmNwidth, width,
                   XmNheight, height,
                   NULL);