]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/nanox/X11/Xlib.h
removed const operator[]s (should fix 1162115)
[wxWidgets.git] / include / wx / x11 / nanox / X11 / Xlib.h
index 3a4fb63db28e52887c04efe7d4d382d4631d4e5e..01ebd461b2ba2e313e07285a5409789e56ed979d 100644 (file)
@@ -284,6 +284,12 @@ typedef int (*XErrorHandler) (         /* WARNING, this type not in Xlib spec */
 #define KeymapStateMask 0
 #define StructureNotifyMask GR_EVENT_MASK_UPDATE
 
+#ifdef ConfigureNotify
+/* XtoNX.h gets it wrong */
+#undef ConfigureNotify
+#endif
+#define ConfigureNotify GR_EVENT_TYPE_UPDATE
+
 #ifndef FocusIn
 #define FocusIn GR_EVENT_TYPE_FOCUS_IN
 #define FocusOut GR_EVENT_TYPE_FOCUS_OUT