From dae752d4b1bb5bdf1d47833191262c760331681e Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Fri, 11 Jan 2002 07:37:33 +0000 Subject: [PATCH] Committing in . wxMOTIF updates for OpenVMS Modified Files: wxWindows/setup.h_vms wxWindows/src/generic/descrip.mms wxWindows/src/motif/descrip.mms wxWindows/src/motif/glcanvas.cpp ---------------------------------------------------------------------- git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- setup.h_vms | 8 ++++++++ src/generic/descrip.mms | 8 ++++---- src/motif/descrip.mms | 3 +++ src/motif/glcanvas.cpp | 6 ++++++ 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/setup.h_vms b/setup.h_vms index 4def44b356..17ef3a44ae 100644 --- a/setup.h_vms +++ b/setup.h_vms @@ -213,7 +213,11 @@ /* * Use wxPopupWindow (useful in wxUniv only for now) */ +#ifdef __WXMOTIF__ +#define wxUSE_POPUPWIN 0 +#else #define wxUSE_POPUPWIN 1 +#endif /* Use wxTipWindow @@ -666,7 +670,11 @@ /* * Use tooltips */ +#ifdef __WXMOTIF__ +#define wxUSE_TOOLTIPS 0 +#else #define wxUSE_TOOLTIPS 1 +#endif /* * Use dnd */ diff --git a/src/generic/descrip.mms b/src/generic/descrip.mms index 669c314783..fd2888ca25 100644 --- a/src/generic/descrip.mms +++ b/src/generic/descrip.mms @@ -31,7 +31,6 @@ CC_DEFINE = cc $(CFLAGS)$(CC_DEFINE) $(MMS$TARGET_NAME).c OBJECTS = \ - accel.obj,\ busyinfo.obj,\ calctrl.obj,\ caret.obj,\ @@ -119,10 +118,9 @@ SOURCES = \ wizard.cpp .ifdef __WXMOTIF__ -OBJECTS0=,statline.obj,\ - notebook.obj +OBJECTS0=,statline.obj,notebook.obj,scrlwing.obj,spinctlg.obj .else -OBJECTS0=,filedlgg.obj,paletteg.obj +OBJECTS0=,accel.obj,filedlgg.obj,paletteg.obj .endif all : $(SOURCES) @@ -168,6 +166,8 @@ progdlgg.obj : progdlgg.cpp prop.obj : prop.cpp propform.obj : propform.cpp proplist.obj : proplist.cpp +scrlwing.obj : scrlwing.cpp +spinctlg.obj : spinctlg.cpp sashwin.obj : sashwin.cpp splitter.obj : splitter.cpp statline.obj : statline.cpp diff --git a/src/motif/descrip.mms b/src/motif/descrip.mms index b13eb78913..725abeff54 100644 --- a/src/motif/descrip.mms +++ b/src/motif/descrip.mms @@ -51,6 +51,7 @@ OBJECTS = \ frame.obj,\ gauge.obj,\ gdiobj.obj,\ + glcanvas.obj,\ gsockmot.obj,\ icon.obj,\ listbox.obj,\ @@ -105,6 +106,7 @@ SOURCES = \ frame.cpp,\ gauge.cpp,\ gdiobj.cpp,\ + glcanvas.cpp,\ gsockmot.c,\ icon.cpp,\ listbox.cpp,\ @@ -168,6 +170,7 @@ font.obj : font.cpp frame.obj : frame.cpp gauge.obj : gauge.cpp gdiobj.obj : gdiobj.cpp +glcanvas.obj : glcanvas.cpp gsockmot.obj : gsockmot.c icon.obj : icon.cpp listbox.obj : listbox.cpp diff --git a/src/motif/glcanvas.cpp b/src/motif/glcanvas.cpp index 046c5d0c6c..776eb9746c 100644 --- a/src/motif/glcanvas.cpp +++ b/src/motif/glcanvas.cpp @@ -22,7 +22,13 @@ #include "wx/utils.h" #include "wx/app.h" +#ifdef __VMS +# pragma message disable nosimpint +#endif #include +#ifdef __VMS +# pragma message enable nosimpint +#endif #include "wx/motif/private.h" #ifdef OLD_MESA -- 2.45.2