Fixes needed for OpenVMS
Modified Files:
wxWindows/include/wx/x11/private.h
wxWindows/include/wx/x11/privx.h
wxWindows/src/common/dbtable.cpp
wxWindows/src/common/descrip.mms
wxWindows/src/motif/bmpmotif.cpp
wxWindows/src/motif/descrip.mms wxWindows/src/x11/bitmap.cpp
wxWindows/src/x11/utilsx.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20562
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/defs.h"
#include "wx/utils.h"
+#if defined( __cplusplus ) && defined( __VMS )
+#pragma message disable nosimpint
+#endif
#include "X11/Xlib.h"
#include "X11/Xatom.h"
#include "X11/Xutil.h"
+#if defined( __cplusplus ) && defined( __VMS )
+#pragma message enable nosimpint
+#endif
// Include common declarations
#include "wx/x11/privx.h"
#include "wx/utils.h"
#include "wx/colour.h"
+#if defined( __cplusplus ) && defined( __VMS )
+#pragma message disable nosimpint
+#endif
#include "X11/Xlib.h"
#include "X11/Xatom.h"
#include "X11/Xutil.h"
+#if defined( __cplusplus ) && defined( __VMS )
+#pragma message enable nosimpint
+#endif
class wxMouseEvent;
class wxKeyEvent;
return(FALSE);
SWORD fSqlType = 0;
- UDWORD precision = 0;
+ SDWORD precision = 0;
SWORD scale = 0;
// Bind each column of the table that should be bound
zipstrm.obj,\
zstream.obj
-OBJECTS_MOTIF=bmpbase.obj
+OBJECTS_MOTIF=bmpbase.obj,gaugecmn.obj
SOURCES = \
appcmn.cpp,\
fs_inet.cpp,\
fs_zip.cpp,\
ftp.cpp,\
+ gaugecmn.cpp,\
gdicmn.cpp,\
gifdecod.cpp,\
hash.cpp,\
fs_inet.obj : fs_inet.cpp
fs_zip.obj : fs_zip.cpp
ftp.obj : ftp.cpp
+gaugecmn.obj : gaugecmn.cpp
gdicmn.obj : gdicmn.cpp
gifdecod.obj : gifdecod.cpp
hash.obj : hash.cpp
#ifdef __VMS
#define XtParent XTPARENT
+#define XtDisplay XTDISPLAY
#endif
#include "wx/defs.h"
accel.cpp,\
app.cpp,\
bmpbuttn.cpp,\
- bmpmotif.cpp,
+ bmpmotif.cpp,\
button.cpp,\
checkbox.cpp,\
checklst.cpp,\
M_BMPHANDLERDATA->m_bpp = 1;
return TRUE;
-#endif
- wxCHECK_MSG( M_BMPHANDLERDATA->m_bitmap, FALSE,
+#else
+ wxCHECK_MSG( M_BMPHANDLERDATA->m_bitmap, FALSE,
wxT("couldn't create bitmap") );
+#endif
}
void wxBitmap::InitStandardHandlers()
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+#ifdef __VMS
+#define XShapeQueryExtension XSHAPEQUERYEXTENSION
+#define XtDisplay XTDISPLAY
+#endif
+
#include "wx/x11/privx.h"
#ifdef HAVE_XSHAPE
-#include <X11/extensions/shape.h>
+#ifdef __VMS
+# include <X11/shape.h>
+#else
+# include <X11/extensions/shape.h>
+#endif
#include "wx/region.h"
#include "wx/bitmap.h"
#include "wx/dcmemory.h"