]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/utilsx.cpp
revert my last change
[wxWidgets.git] / src / x11 / utilsx.cpp
index a2ba48cb008b3369f17764cc379bd16be7afa4ad..14d004e2ad8206af140526c3319343ce30bdae40 100644 (file)
@@ -9,10 +9,19 @@
 // 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 <X11/shape.h>
+#else
+# include <X11/extensions/shape.h>
+#endif
 #include "wx/region.h"
 #include "wx/bitmap.h"
 #include "wx/dcmemory.h"