do VMS-specific X symbols redefinitions only once in wx/platform.h instead of doing it in individual files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-01-01 20:38:33 +00:00
parent c0e28504ec
commit 43de9abf95
28 changed files with 15 additions and 114 deletions

View File

@@ -590,6 +590,15 @@
# warning "Compiling wxMac with probably wrong endianness"
#endif
#ifdef __VMS
#define XtDisplay XTDISPLAY
#ifdef __WXMOTIF__
#define XtParent XTPARENT
#define XtScreen XTSCREEN
#define XtWindow XTWINDOW
#endif
#endif
/* Choose which method we will use for updating menus
* - in OnIdle, or when we receive a wxEVT_MENU_OPEN event.
* Presently, only Windows and GTK+ support wxEVT_MENU_OPEN.