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/trunk@50982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-01-01 20:38:33 +00:00
parent 95883d6c0f
commit 455f7c8205
27 changed files with 9 additions and 108 deletions

View File

@@ -640,6 +640,15 @@
# define wxVMS_USE_STD
#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.