Update of OpenVMS compile support
Modified Files:
wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
wxWidgets/src/generic/descrip.mms
wxWidgets/src/gtk/descrip.mms wxWidgets/src/unix/descrip.mms
wxWidgets/src/unix/displayx11.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37641
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
* Template for the set.h file for VMS *
* Created from setup.h_in *
* Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
- * Date : 9 February 2006 *
+ * Date : 15 February 2006 *
* *
*****************************************************************************/
#define wxUSE_RICHEDIT2 0
#endif
+#define wxUSE_INKEDIT 1
+
#define wxUSE_UNICODE_MSLU 0
#define wxUSE_DC_CACHEING 1
dobjcmn.obj,\
docmdi.obj,\
docview.obj,\
+ dpycmn.obj,\
dynarray.obj,\
dynlib.obj,\
encconv.obj,\
dobjcmn.cpp,\
docmdi.cpp,\
docview.cpp,\
+ dpycmn.cpp,\
dynarray.cpp,\
dynlib.cpp,\
encconv.cpp,\
xtistrm.obj : xtistrm.cpp
xtixml.obj : xtixml.cpp
uri.obj : uri.cpp
+dpycmn.obj : dpycmn.cpp
timer.obj : timer.cpp
vlbox.obj : vlbox.cpp
vscroll.obj : vscroll.cpp
+ cxx $(CXXFLAGS)$(CXX_DEFINE)/nowarn vscroll.cpp
listbkg.obj : listbkg.cpp
choicbkg.obj : choicbkg.cpp
toolbkg.obj : toolbkg.cpp
# *
# Make file for VMS *
# Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
-# Date : 13 February 2006 *
+# Date : 20 February 2006 *
# *
#*****************************************************************************
.first
bitmap.obj,\
brush.obj,\
clipbrd.obj,\
+ colordlg.obj,\
colour.obj,\
cursor.obj,\
data.obj,\
checklst.cpp,\
choice.cpp,\
clipbrd.cpp,\
+ colordlg.cpp,\
colour.cpp,\
combobox.cpp,\
control.cpp,\
checklst.obj : checklst.cpp
choice.obj : choice.cpp
clipbrd.obj :clipbrd.cpp
+colordlg.obj : colordlg.cpp
colour.obj : colour.cpp
combobox.obj : combobox.cpp
control.obj : control.cpp
OBJECTS = baseunix.obj,\
dialup.obj,\
dir.obj,\
+ displayx11.obj,\
dlunix.obj,\
fontenum.obj,\
fontutil.obj,\
SOURCES = baseunix.cpp,\
dialup.cpp,\
dir.cpp,\
+ displayx11.cpp,\
dlunix.cpp,\
fontenum.cpp,\
fontutil.cpp,\
sound_sdl.obj : sound_sdl.cpp
stdpaths.obj : stdpaths.cpp
taskbarx11.obj : taskbarx11.cpp
+displayx11.obj : displayx11.cpp
* Xlibint.h conflicts with a function declaration in wx/list.h. */
extern "C" {
#include <X11/Xlib.h>
+#ifndef __VMS
#include <X11/Xlibint.h>
- #include <X11/extensions/Xinerama.h>
+# include <X11/extensions/Xinerama.h>
#ifdef HAVE_X11_EXTENSIONS_XF86VMODE_H
#include <X11/extensions/xf86vmode.h>
#endif
+#endif
}
class wxDisplayUnixPriv
{
Display *disp = (Display*)wxGetDisplay();
- if ( XineramaIsActive(disp) )
+#ifndef __VMS
+ if ( XineramaIsActive(disp) )
{
XineramaScreenInfo *screenarr;
int numscreens;
return numscreens;
}
else
+#endif
{
return 1;
}
{
Display *disp = (Display*)wxGetDisplay();
- if ( XineramaIsActive(disp) )
+#ifndef __VMS
+ if ( XineramaIsActive(disp) )
{
int which_screen = -1;
XineramaScreenInfo *screenarr;
return which_screen;
}
else
- {
+#endif
+ {
wxSize size = wxGetDisplaySize();
if (p.x >= 0 &&
p.x < size.GetWidth() &&
{
Display *disp = (Display*)wxGetDisplay();
- if ( XineramaIsActive(disp) )
+#ifndef __VMS
+ if ( XineramaIsActive(disp) )
{
XineramaScreenInfo *screenarr;
int numscreens;
XFree(screenarr);
}
else
- {
+#endif
+ {
wxSize size = wxGetDisplaySize();
m_priv->m_rect = wxRect(0, 0, size.GetWidth(), size.GetHeight());
m_priv->m_depth = wxDisplayDepth();