]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/xmcombo/xmcombo.c
Fix typo in last commit
[wxWidgets.git] / src / motif / xmcombo / xmcombo.c
index 601fe89c43e35b67e2255f9f9418db8b5c816aa3..be780d1fbc25a33bc621e4dcef6dde3b731e7140 100644 (file)
  *
  */
 #ifdef __VMS
  *
  */
 #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
 #include <wx/vms_x_fix.h>
 #undef XtDisplay
 #undef XtScreen
 #undef XtWindow
 #undef XtIsRealized
 #undef XtParent
+#undef XtClass
 #endif
 
 #endif
 
+/* get XmVersion definition */
+#include <Xm/Xm.h>
+
+#if (XmVersion < 2000)
+
 #include <X11/IntrinsicP.h>
 #include <X11/StringDefs.h>
 #include <X11/cursorfont.h>
 #include <X11/IntrinsicP.h>
 #include <X11/StringDefs.h>
 #include <X11/cursorfont.h>
 #include <Xm/List.h>
 #include <Xm/LabelP.h>
 
 #include <Xm/List.h>
 #include <Xm/LabelP.h>
 
-#if (XmVersion < 2000)
-
 #include <string.h>
 #include <ctype.h> /* define toupper */
 #include "combop.h"
 #include <string.h>
 #include <ctype.h> /* define toupper */
 #include "combop.h"