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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user