]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/utilsx11.cpp
the find dialog is created hidden, as all the other top level windows, but the docs...
[wxWidgets.git] / src / unix / utilsx11.cpp
index 465f7bec901e776f8b7b30cf48f0194fe4c92e59..7f46dcdbbf07328b56d271f5037f590d4e22f615 100644 (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 )