X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aab52ea550049163dc767d02dca5012285929f26..4fb6c97e93b95f07ab68d067c8982fc746dccde4:/src/motif/checkbox.cpp 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