]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/toplevel.cpp
Fixed usage of wxXmString
[wxWidgets.git] / src / x11 / toplevel.cpp
index 7ecbb7fed57922d0891b47b76369d0fc29e298d3..5633dae559782b67e90ac0a99f1f2c34049ca1ed 100644 (file)
@@ -130,6 +130,9 @@ bool wxTopLevelWindowX11::Create(wxWindow *parent,
     m_mainWidget = (WXWindow) xwindow;
 
     XSelectInput( xdisplay, xwindow,
+#if wxUSE_NANOX
+        GR_EVENT_MASK_CLOSE_REQ |
+#endif
         ExposureMask | KeyPressMask | KeyReleaseMask | ButtonPressMask | ButtonReleaseMask |
         ButtonMotionMask | EnterWindowMask | LeaveWindowMask | PointerMotionMask |
         KeymapStateMask | FocusChangeMask | ColormapChangeMask | StructureNotifyMask |