X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b5c0e1ac19ac7520dea4477c581dd538e1815b6..9d9ad67384e5dc658c4de46e49113c321489bf81:/include/wx/x11/nanox/X11/Xlib.h diff --git a/include/wx/x11/nanox/X11/Xlib.h b/include/wx/x11/nanox/X11/Xlib.h index 3a4fb63db2..01ebd461b2 100644 --- a/include/wx/x11/nanox/X11/Xlib.h +++ b/include/wx/x11/nanox/X11/Xlib.h @@ -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