From 2349d7c7fe68b54720d1997d728bcde90ca02573 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Wed, 26 Jan 2005 16:07:55 +0000 Subject: [PATCH] Cleanup for previous bug fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/motif/checkbox.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.45.2