]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed bug with disappearing menus. They were
authorRobert Roebling <robert@roebling.de>
Thu, 14 Feb 2002 19:55:26 +0000 (19:55 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 14 Feb 2002 19:55:26 +0000 (19:55 +0000)
    drawn under all other windows all but the
    first time.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/x11/popupwin.cpp

index 4ce0694c674d30ebcf8fe3d5b08e398f5d395cc4..e4d809c98cfbd3b6fb345e27b4ce4cce388de6ad 100644 (file)
@@ -102,11 +102,7 @@ bool wxPopupWindow::Show( bool show )
 {
     bool ret = wxWindowX11::Show( show );
 
-#if 0    
-    int x,y;
-    GetSize( &x, &y );
-    printf( "popup size %d, %d\n", x, y );
-#endif
+    Raise();
     
     return ret;
 }