]> git.saurik.com Git - wxWidgets.git/commitdiff
Committing in .
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Wed, 8 May 2002 12:42:24 +0000 (12:42 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Wed, 8 May 2002 12:42:24 +0000 (12:42 +0000)
 updates for OpenVMS

 Modified Files:
  wxWindows/src/common/descrip.mms
  wxWindows/src/motif/clipbrd.cpp
 Added Files:
  wxWindows/samples/db/descrip.mms
 ----------------------------------------------------------------------

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/db/descrip.mms [new file with mode: 0755]
src/common/descrip.mms
src/motif/clipbrd.cpp

diff --git a/samples/db/descrip.mms b/samples/db/descrip.mms
new file mode 100755 (executable)
index 0000000..cbae353
--- /dev/null
@@ -0,0 +1,48 @@
+#*****************************************************************************
+#                                                                            *
+# Make file for VMS                                                          *
+# Author : J.Jansen (joukj@hrem.stm.tudelft.nl)                              *
+# Date : 31 October 2001                                                     *
+#                                                                            *
+#*****************************************************************************
+.first
+       define wx [--.include.wx]
+
+.ifdef __WXMOTIF__
+CXX_DEFINE = /define=(__WXMOTIF__=1)/name=(as_is,short)\
+          /assume=(nostdnew,noglobal_array_new)
+.else
+.ifdef __WXGTK__
+CXX_DEFINE = /define=(__WXGTK__=1)/float=ieee/name=(as_is,short)/ieee=denorm\
+          /assume=(nostdnew,noglobal_array_new)
+.else
+CXX_DEFINE =
+.endif
+.endif
+
+.suffixes : .cpp
+
+.cpp.obj :
+       cxx $(CXXFLAGS)$(CXX_DEFINE) $(MMS$TARGET_NAME).cpp
+
+all :
+.ifdef __WXMOTIF__
+       $(MMS)$(MMSQUALIFIERS) dbtest.exe
+.else
+.ifdef __WXGTK__
+       $(MMS)$(MMSQUALIFIERS) dbtest_gtk.exe
+.endif
+.endif
+
+.ifdef __WXMOTIF__
+dbtest.exe : dbtest.obj,listdb.obj
+       cxxlink dbtest,listdb,[--.lib]vms/opt
+.else
+.ifdef __WXGTK__
+dbtest_gtk.exe : dbtest.obj,listdb.obj
+       cxxlink/exec=dbtest_gtk.exe dbtest,listdb,[--.lib]vms_gtk/opt
+.endif
+.endif
+
+dbtest.obj : dbtest.cpp
+listdb.obj : listdb.cpp
index 044ad827e8c6fe0c3a6940d483454bdc60e08ed9..a4a2fdc2c2d00d1f7254cba3f8a0ccd07c5fc5cb 100644 (file)
@@ -135,6 +135,7 @@ OBJECTS1=fs_inet.obj,\
                sckstrm.obj,\
                sizer.obj,\
                socket.obj,\
+               settcmn.obj,\
                statbar.obj,\
                strconv.obj,\
                stream.obj,\
@@ -255,6 +256,7 @@ SOURCES = \
                sckstrm.cpp,\
                sizer.cpp,\
                socket.cpp,\
+               settcmn.cpp,\
                statbar.cpp,\
                strconv.cpp,\
                stream.cpp,\
@@ -413,6 +415,7 @@ sckipc.obj : sckipc.cpp
 sckstrm.obj : sckstrm.cpp
 sizer.obj : sizer.cpp
 socket.obj : socket.cpp
+settcmn.obj : settcmn.cpp
 statbar.obj : statbar.cpp
 strconv.obj : strconv.cpp
 stream.obj : stream.cpp
index 41afb324d308b393539aa8c0419f494b445858d6..0ee8acb95865c7703b4da6bc9ab082164d6aef0e 100644 (file)
@@ -366,10 +366,14 @@ bool wxClipboard::GetData( wxDataObject& data )
 */
         default:
         {
-            return FALSE;
+#ifndef __VMS
+          // VMS complains that this statement is/causes unreachability
+          return FALSE;
+#endif
         }
     }
-    return FALSE;
+   
+   return FALSE;
 }
 
 #if 0