]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/xmcombo/xmcombo.c
the same event handler class, not object, can be used with multiple windows (patch...
[wxWidgets.git] / src / motif / xmcombo / xmcombo.c
index 32f5686026cf10878650046e2b747a50dd9cc02e..be780d1fbc25a33bc621e4dcef6dde3b731e7140 100644 (file)
  *
  */
 #ifdef __VMS
+/* vms_x_fix.h should be included before any of the X11/Motif headers */
 #include <wx/vms_x_fix.h>
+#undef XtDisplay
+#undef XtScreen
+#undef XtWindow
+#undef XtIsRealized
+#undef XtParent
+#undef XtClass
 #endif
 
+/* get XmVersion definition */
+#include <Xm/Xm.h>
+
+#if (XmVersion < 2000)
+
 #include <X11/IntrinsicP.h>
 #include <X11/StringDefs.h>
 #include <X11/cursorfont.h>
 #include <Xm/List.h>
 #include <Xm/LabelP.h>
 
-#if (XmVersion < 2000)
-
 #include <string.h>
 #include <ctype.h> /* define toupper */
 #include "combop.h"