]> git.saurik.com Git - wxWidgets.git/commitdiff
Merge correction
authorJulian Smart <julian@anthemion.co.uk>
Mon, 11 Feb 2002 12:15:59 +0000 (12:15 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 11 Feb 2002 12:15:59 +0000 (12:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/x11/popupwin.cpp

index e442728bde0ba673db7aca108bcb68ee018ba9da..1645c359a8292e26548f901f21814f031ccba6cc 100644 (file)
@@ -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,