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.
|
||||
|
@@ -18,12 +18,6 @@
|
||||
// headers
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#ifdef __EMX__
|
||||
// The following define is needed by Innotek's libc to
|
||||
// make the definition of struct localeconv available.
|
||||
#define __INTERNAL_DEFS
|
||||
#endif
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
@@ -31,6 +25,12 @@
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#ifdef __EMX__
|
||||
// The following define is needed by Innotek's libc to
|
||||
// make the definition of struct localeconv available.
|
||||
#define __INTERNAL_DEFS
|
||||
#endif
|
||||
|
||||
#if wxUSE_INTL
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
|
@@ -18,10 +18,6 @@
|
||||
// headers
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtDisplay XTDISPLAY
|
||||
#endif
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
|
@@ -12,11 +12,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtParent XTPARENT
|
||||
#define XtDisplay XTDISPLAY
|
||||
#endif
|
||||
|
||||
#include "wx/app.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
|
@@ -12,10 +12,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtScreen XTSCREEN
|
||||
#endif
|
||||
|
||||
#include "wx/bmpbuttn.h"
|
||||
|
||||
#ifdef __VMS__
|
||||
|
@@ -12,11 +12,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtParent XTPARENT
|
||||
#define XtDisplay XTDISPLAY
|
||||
#endif
|
||||
|
||||
#include "wx/motif/bmpmotif.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
|
@@ -12,10 +12,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtDisplay XTDISPLAY
|
||||
#endif
|
||||
|
||||
#include "wx/button.h"
|
||||
|
||||
#ifdef __VMS__
|
||||
|
@@ -12,10 +12,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtDisplay XTDISPLAY
|
||||
#endif
|
||||
|
||||
#include "wx/checkbox.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
|
@@ -14,11 +14,6 @@
|
||||
|
||||
#if wxUSE_CHOICE
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtDisplay XTDISPLAY
|
||||
#define XtParent XTPARENT
|
||||
#endif
|
||||
|
||||
#include "wx/choice.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
|
@@ -12,13 +12,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtDisplay XTDISPLAY
|
||||
#define XtWindow XTWINDOW
|
||||
#define XtParent XTPARENT
|
||||
#define XtScreen XTSCREEN
|
||||
#endif
|
||||
|
||||
#include "wx/dialog.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
|
@@ -17,11 +17,6 @@
|
||||
// headers
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtParent XTPARENT
|
||||
#define XtDisplay XTDISPLAY
|
||||
#endif
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
|
@@ -12,12 +12,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtDisplay XTDISPLAY
|
||||
#define XtParent XTPARENT
|
||||
#define XtWindow XTWINDOW
|
||||
#endif
|
||||
|
||||
#include "wx/filedlg.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
|
@@ -20,12 +20,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtDisplay XTDISPLAY
|
||||
#define XtWindow XTWINDOW
|
||||
#define XtScreen XTSCREEN
|
||||
#endif
|
||||
|
||||
#include "wx/frame.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
|
@@ -24,11 +24,6 @@
|
||||
#include "wx/arrstr.h"
|
||||
#endif
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtParent XTPARENT
|
||||
#define XtDisplay XTDISPLAY
|
||||
#endif
|
||||
|
||||
#ifdef __VMS__
|
||||
#pragma message disable nosimpint
|
||||
#endif
|
||||
|
@@ -12,11 +12,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtDisplay XTDISPLAY
|
||||
#define XtWindow XTWINDOW
|
||||
#endif
|
||||
|
||||
#include "wx/mdi.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
|
@@ -33,8 +33,6 @@
|
||||
|
||||
#ifdef __VMS__
|
||||
#pragma message disable nosimpint
|
||||
#define XtDisplay XTDISPLAY
|
||||
#define XtWindow XTWINDOW
|
||||
#endif
|
||||
#include <Xm/Label.h>
|
||||
#include <Xm/LabelG.h>
|
||||
|
@@ -21,7 +21,6 @@
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtDisplay XTDISPLAY
|
||||
#pragma message disable nosimpint
|
||||
#include "wx/vms_x_fix.h"
|
||||
#endif
|
||||
|
@@ -14,10 +14,6 @@
|
||||
|
||||
#if wxUSE_RADIOBOX
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtDisplay XTDISPLAY
|
||||
#endif
|
||||
|
||||
#include "wx/radiobox.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
|
@@ -12,10 +12,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtDisplay XTDISPLAY
|
||||
#endif
|
||||
|
||||
#include "wx/radiobut.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
|
@@ -16,7 +16,6 @@
|
||||
|
||||
#ifdef __VMS__
|
||||
#pragma message disable nosimpint
|
||||
#define XtDisplay XTDISPLAY
|
||||
#endif
|
||||
#include <Xm/Xm.h>
|
||||
#include <Xm/ScrollBar.h>
|
||||
|
@@ -12,10 +12,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtDisplay XTDISPLAY
|
||||
#endif
|
||||
|
||||
#include "wx/statbox.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
|
@@ -12,10 +12,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtDisplay XTDISPLAY
|
||||
#endif
|
||||
|
||||
#if wxUSE_STATTEXT
|
||||
|
||||
#include "wx/stattext.h"
|
||||
|
@@ -20,10 +20,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtParent XTPARENT
|
||||
#endif
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <ctype.h>
|
||||
|
@@ -20,10 +20,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtDisplay XTDISPLAY
|
||||
#endif
|
||||
|
||||
#include "wx/toolbar.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
|
@@ -27,10 +27,6 @@
|
||||
#endif
|
||||
|
||||
#ifdef __VMS__
|
||||
#define XtDisplay XTDISPLAY
|
||||
#define XtParent XTPARENT
|
||||
#define XtScreen XTSCREEN
|
||||
#define XtWindow XTWINDOW
|
||||
#pragma message disable nosimpint
|
||||
#endif
|
||||
|
||||
|
@@ -20,10 +20,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtDisplay XTDISPLAY
|
||||
#endif
|
||||
|
||||
#include "wx/utils.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
|
@@ -20,12 +20,6 @@
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __VMS
|
||||
#define XtDisplay XTDISPLAY
|
||||
#define XtWindow XTWINDOW
|
||||
#define XtScreen XTSCREEN
|
||||
#endif
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/hash.h"
|
||||
#include "wx/log.h"
|
||||
|
@@ -14,7 +14,6 @@
|
||||
|
||||
#ifdef __VMS
|
||||
#define XShapeQueryExtension XSHAPEQUERYEXTENSION
|
||||
#define XtDisplay XTDISPLAY
|
||||
#endif
|
||||
|
||||
#include "wx/x11/privx.h"
|
||||
|
Reference in New Issue
Block a user