]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/xmcombo/xmcombo.c
Fix for always failing assert in GetValue. Save the same value that
[wxWidgets.git] / src / motif / xmcombo / xmcombo.c
index 601fe89c43e35b67e2255f9f9418db8b5c816aa3..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"