From 5a2db5f1df5f0ac0a034366195c11047a416bf6a Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Tue, 14 Jan 2003 07:22:31 +0000 Subject: [PATCH] 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 --- src/motif/descrip.mms | 3 +++ src/unix/utilsx11.cpp | 10 +++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/motif/descrip.mms b/src/motif/descrip.mms index 725abeff54..73835ef889 100644 --- a/src/motif/descrip.mms +++ b/src/motif/descrip.mms @@ -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 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 ) -- 2.45.2