Committing in .

Updates for OpenVMS support

 Modified Files:
 	wxWindows/src/motif/descrip.mms
 	wxWindows/src/unix/utilsx11.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jouk Jansen
2003-01-14 07:22:31 +00:00
parent eb22f2a6dc
commit 5a2db5f1df
2 changed files with 12 additions and 1 deletions

View File

@@ -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 )