]> git.saurik.com Git - wxWidgets.git/commitdiff
Cleanup for previous bug fix.
authorStefan Neis <Stefan.Neis@t-online.de>
Wed, 26 Jan 2005 16:07:55 +0000 (16:07 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Wed, 26 Jan 2005 16:07:55 +0000 (16:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/checkbox.cpp

index 681d9482f090f9c5b7db55828302aedec80342e8..59e62023ad50a5c95ecf6dd7cdd7e7eeeb195897 100644 (file)
 // 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