]> git.saurik.com Git - wxWidgets.git/commitdiff
Committing in .
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Tue, 14 Jan 2003 07:22:31 +0000 (07:22 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Tue, 14 Jan 2003 07:22:31 +0000 (07:22 +0000)
 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

src/motif/descrip.mms
src/unix/utilsx11.cpp

index 725abeff548007775fd3c0b7580ee87ea537fdf4..73835ef88951aae3661f57d1769f48a967169a61 100644 (file)
@@ -74,6 +74,7 @@ OBJECTS = \
                statbox.obj,\
                stattext.obj,\
                textctrl.obj,\
+               toplevel.obj,\
                timer.obj,\
                toolbar.obj,\
                utils.obj,\
@@ -129,6 +130,7 @@ SOURCES = \
                statbox.cpp,\
                stattext.cpp,\
                textctrl.cpp,\
+               toplevel.cpp,\
                timer.cpp,\
                toolbar.cpp,\
                utils.cpp,\
@@ -193,6 +195,7 @@ statbmp.obj : statbmp.cpp
 statbox.obj : statbox.cpp
 stattext.obj : stattext.cpp
 textctrl.obj : textctrl.cpp
+toplevel.obj : toplevel.cpp
 timer.obj : timer.cpp
 toolbar.obj : toolbar.cpp
 utils.obj : utils.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 )