X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8166ab4343099511fbd6f013fbeb9afc87c69a25..f21fcc9d2e6ba3e02a686b4ed11102fdcc4c49bb:/src/unix/utilsx11.cpp diff --git a/src/unix/utilsx11.cpp b/src/unix/utilsx11.cpp index 465f7bec90..7f46dcdbbf 100644 --- a/src/unix/utilsx11.cpp +++ b/src/unix/utilsx11.cpp @@ -276,7 +276,11 @@ static bool wxQueryWMspecSupport(Display *display, Window rootWnd, Atom feature) // Is the WM ICCCM supporting? XGetWindowProperty(display, rootWnd, +#ifdef __VMS + _NET_SUPPORTING_WM_CHECK, 0, LONG_MAX, +#else _NET_SUPPORTING_WM_CHECK, 0, UINT_MAX, +#endif False, XA_WINDOW, &type, &format, &nwins, &after, (unsigned char **)&wins); if ( type != XA_WINDOW || nwins <= 0 || wins[0] == None ) @@ -285,7 +289,11 @@ static bool wxQueryWMspecSupport(Display *display, Window rootWnd, Atom feature) // Query for supported features: XGetWindowProperty(display, rootWnd, - _NET_SUPPORTED, 0, UINT_MAX, +#ifdef __VMS + _NET_SUPPORTED, 0, LONG_MAX, +#else + _NET_SUPPORTED, 0, UINT_MAX, +#endif False, XA_ATOM, &type, &format, &natoms, &after, (unsigned char **)&atoms); if ( type != XA_ATOM || atoms == NULL )