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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user