changed charset to iso8859-2
[wxWidgets.git] / src / x11 / popupwin.cpp
index 6f767a6ef66214e1c24716e9f711481f56b07609..818b86fc64f0c8ca32fb6c79dd11f31552fa360a 100644 (file)
@@ -87,7 +87,10 @@ bool wxPopupWindow::Create( wxWindow *parent, int style )
 
     XSetTransientForHint( xdisplay, xwindow, xparent );
 
-#if !wxUSE_NANOX
+#if wxUSE_NANOX
+    // Switch off WM
+    wxSetWMDecorations(xwindow, 0);
+#else
     XWMHints wm_hints;
     wm_hints.flags = InputHint | StateHint /* | WindowGroupHint */;
     wm_hints.input = True;