From 68dc6d2ae7796577a72f1b2983d7876043f47c10 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 11 Feb 2002 12:15:59 +0000 Subject: [PATCH] Merge correction git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/x11/popupwin.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/x11/popupwin.cpp b/src/x11/popupwin.cpp index e442728bde..1645c359a8 100644 --- a/src/x11/popupwin.cpp +++ b/src/x11/popupwin.cpp @@ -67,9 +67,7 @@ bool wxPopupWindow::Create( wxWindow *parent, int style ) xattributes.border_pixel = BlackPixel( xdisplay, xscreen ); xattributes.override_redirect = False; - wxSize size(2, 2); - - Window xwindow = XCreateWindow( xdisplay, xparent, 0, 0, size.x, size.y, + Window xwindow = XCreateWindow( xdisplay, xparent, pos.x, pos.y, size.x, size.y, 0, DefaultDepth(xdisplay,xscreen), InputOutput, xvisual, xattributes_mask, &xattributes ); XSelectInput( xdisplay, xwindow,