Compilation fixes for Nano-X

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-02-25 20:32:37 +00:00
parent 5f7dd65ef8
commit 70b8ab778f
5 changed files with 68 additions and 8 deletions

View 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;