KeymapStateMask | FocusChangeMask | ColormapChangeMask | StructureNotifyMask |
PropertyChangeMask );
- m_mainWidget = (WXWindow) xwindow;
+ m_mainWindow = (WXWindow) xwindow;
+ m_clientWindow = (WXWindow) xwindow;
wxAddWindowToTable( xwindow, (wxWindow*) this );
// Set background to None which will prevent X11 from clearing the
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;