X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aab52ea550049163dc767d02dca5012285929f26..eda6fa912b538ead8c5aa6e06d25e0d0109a264f:/src/motif/checkbox.cpp?ds=inline diff --git a/src/motif/checkbox.cpp b/src/motif/checkbox.cpp index 681d9482f0..59e62023ad 100644 --- a/src/motif/checkbox.cpp +++ b/src/motif/checkbox.cpp @@ -16,6 +16,10 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" +#ifdef __VMS +#define XtDisplay XTDISPLAY +#endif + #include "wx/defs.h" #include "wx/checkbox.h" @@ -34,8 +38,7 @@ #endif // define symbols that are missing in old versions of Motif. -#if defined(__VMS) || (XmVersion < 2000) -#define XtDisplay XTDISPLAY +#if (XmVersion < 2000) #define XmNtoggleMode 0 #define XmTOGGLE_INDETERMINATE 1 #define XmTOGGLE_BOOLEAN 2