]> git.saurik.com Git - wxWidgets.git/commitdiff
Committing in .
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Thu, 7 Feb 2002 14:41:48 +0000 (14:41 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Thu, 7 Feb 2002 14:41:48 +0000 (14:41 +0000)
 Various patches to get the current CVS compile on OpenVMS

 Modified Files:
  wxWindows/setup.h_vms wxWindows/src/generic/descrip.mms
  wxWindows/src/gtk/app.cpp wxWindows/src/unix/threadpsx.cpp
 ----------------------------------------------------------------------

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

setup.h_vms
src/generic/descrip.mms
src/gtk/app.cpp
src/gtk1/app.cpp
src/unix/threadpsx.cpp

index b61224fb919e6774c606ed1b53c701dc5d1fe065..5ef08f67418b3eb7f44e6a150633ab00afc2a57c 100644 (file)
 /*
  * MS Icons and Cursors format support
  */
-#define wxUSE_ICO_CUR 0
+#define wxUSE_ICO_CUR 1
 
 /*
  * Disable this if your compiler can't cope
index fd2888ca256d48152ecf3bc164e7bed2d9fae1b3..00474ef5795cd056385bd5d6be9e1e8976f13b3f 100644 (file)
@@ -46,7 +46,6 @@ OBJECTS = \
                helpext.obj,\
                helphtml.obj,\
                helpwxht.obj,\
-               helpxlp.obj,\
                imaglist.obj,\
                laywin.obj,\
                listctrl.obj,\
@@ -89,7 +88,6 @@ SOURCES = \
                helpext.cpp,\
                helphtml.cpp,\
                helpwxht.cpp,\
-               helpxlp.cpp,\
                imaglist.cpp,\
                laywin.cpp,\
                listctrl.cpp,\
@@ -150,7 +148,6 @@ gridsel.obj : gridsel.cpp
 helpext.obj : helpext.cpp
 helphtml.obj : helphtml.cpp
 helpwxht.obj : helpwxht.cpp
-helpxlp.obj : helpxlp.cpp
 imaglist.obj : imaglist.cpp
 laywin.obj : laywin.cpp
 listctrl.obj : listctrl.cpp
index 283e3330643a3e503d4dece488c49c9ceab4952c..eb7f991c51d0fa57593a7e3c9b595ffe21a796be 100644 (file)
     #pragma implementation "app.h"
 #endif
 
+#ifdef __VMS
+#include <vms_jackets.h>
+#endif
+
 #include "wx/app.h"
 #include "wx/gdicmn.h"
 #include "wx/utils.h"
 #endif
 
 #include <unistd.h>
-#include <sys/poll.h>
+#ifdef __VMS
+# include <poll.h>
+#else
+# include <sys/poll.h>
+#endif
 #include "wx/gtk/win_gtk.h"
 
 #include <gtk/gtk.h>
index 283e3330643a3e503d4dece488c49c9ceab4952c..eb7f991c51d0fa57593a7e3c9b595ffe21a796be 100644 (file)
     #pragma implementation "app.h"
 #endif
 
+#ifdef __VMS
+#include <vms_jackets.h>
+#endif
+
 #include "wx/app.h"
 #include "wx/gdicmn.h"
 #include "wx/utils.h"
 #endif
 
 #include <unistd.h>
-#include <sys/poll.h>
+#ifdef __VMS
+# include <poll.h>
+#else
+# include <sys/poll.h>
+#endif
 #include "wx/gtk/win_gtk.h"
 
 #include <gtk/gtk.h>
index 960683208ee54c907a1bef4db05dc478b8a7a1ba..5e8ba134236f1b5b4b89bf2642aff45488963a77 100644 (file)
@@ -825,7 +825,7 @@ void wxThreadInternal::Wait()
         wxMutexGuiLeave();
 
     bool isDetached = m_isDetached;
-    wxThreadIdType id = GetId();
+    wxThreadIdType id = (wxThreadIdType) GetId();
 
     wxLogTrace(TRACE_THREADS,
                _T("Starting to wait for thread %ld to exit."), id);
@@ -1203,7 +1203,7 @@ unsigned int wxThread::GetPriority() const
 
 wxThreadIdType wxThread::GetId() const
 {
-    return m_internal->GetId();
+    return (wxThreadIdType) m_internal->GetId();
 }
 
 // -----------------------------------------------------------------------------