]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/utilsx.cpp
recall initial font
[wxWidgets.git] / src / x11 / utilsx.cpp
index a2ba48cb008b3369f17764cc379bd16be7afa4ad..7a25ddbcc5dad924bcc374c3f23f0834c12f91aa 100644 (file)
@@ -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"