X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7f78039d2e18114efdec0abe46dc4ed2d4529a8..763b330106e9d3c9c198fc1b1cac4e1ca06c222f:/src/x11/utilsx.cpp diff --git a/src/x11/utilsx.cpp b/src/x11/utilsx.cpp index a2ba48cb00..7a25ddbcc5 100644 --- a/src/x11/utilsx.cpp +++ b/src/x11/utilsx.cpp @@ -9,10 +9,20 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +#ifdef __VMS +#define XShapeQueryExtension XSHAPEQUERYEXTENSION +#define XtDisplay XTDISPLAY +#endif + #include "wx/x11/privx.h" #ifdef HAVE_XSHAPE -#include <X11/extensions/shape.h> +#ifdef __VMS +# include "wx/vms_x_fix.h" +# include <X11/shape.h> +#else +# include <X11/extensions/shape.h> +#endif #include "wx/region.h" #include "wx/bitmap.h" #include "wx/dcmemory.h"