X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2ff68d3fd238a3b943fa0638c88c30b9f2818af..7e08bc5acd8ee4e2f0756f50bf98937a118f9951:/include/wx/x11/nanox/X11/Xlib.h?ds=sidebyside diff --git a/include/wx/x11/nanox/X11/Xlib.h b/include/wx/x11/nanox/X11/Xlib.h index 01ebd461b2..d0c299ff78 100644 --- a/include/wx/x11/nanox/X11/Xlib.h +++ b/include/wx/x11/nanox/X11/Xlib.h @@ -5,10 +5,6 @@ #ifndef _DUMMY_XLIBH_ #define _DUMMY_XLIBH_ -#ifdef __GNUG__ - #pragma interface "Xlib.h" -#endif - /* Move away the typedef in XtoNX.h */ #define XFontStruct XFontStruct1 #include @@ -118,8 +114,8 @@ typedef struct { #define XFreeCursor(d, c) GrDestroyCursor(c) #define XFreeGC(d, gc) GrDestroyGC(gc) #define XSetBackground(d, gc, c) GrSetGCBackground(gc, c) -#define DefaultVisual(d, s) ((Visual*) NULL) -#define DefaultColormap(d, s) DefaultColormapOfScreen((Screen*) NULL) +#define DefaultVisual(d, s) (NULL) +#define DefaultColormap(d, s) DefaultColormapOfScreen(NULL) #define DefaultScreenOfDisplay(d) 0 #define XSetFillStyle(d, gc, s) wxNoop() #define XSetLineAttributes(d, gc, a, b, c, e) wxNoop()