]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/process.h
Partial Watcom C++ 10.6 support added (doesn't link for some reason)
[wxWidgets.git] / include / wx / process.h
index cd5cf5471bf25d757bf7753c33225626f951b4c7..94788268cb50b0abcf4464c9970400a5b2844c8a 100644 (file)
@@ -9,11 +9,11 @@
 // Licence:    wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-#ifndef __PROCESSH__
-#define __PROCESSH__
+#ifndef _WX_PROCESSH__
+#define _WX_PROCESSH__
 
 #ifdef __GNUG__
-#pragma interface
+#pragma interface "process.h"
 #endif
 
 #include "wx/defs.h"
@@ -25,7 +25,7 @@ class WXDLLEXPORT wxProcess: public wxEvtHandler
   DECLARE_DYNAMIC_CLASS(wxProcess)
  public:
 
-  wxProcess(wxEvtHandler *parent = NULL, int id = -1);
+  wxProcess(wxEvtHandler *parent = (wxEvtHandler *) NULL, int id = -1);
   virtual ~wxProcess();
 
   virtual void OnTerminate(int pid);
@@ -52,7 +52,7 @@ class WXDLLEXPORT wxProcessEvent: public wxEvent
 
 typedef void (wxObject::*wxProcessEventFunction)(wxProcessEvent&);
 
-#define EVT_END_PROCESS(id, func) { wxEVT_END_TERMINATE, id, -1, (wxObjectEvent) (wxEventFunction) (wxProcessEventFunction) & fn, NULL},
+#define EVT_END_PROCESS(id, func) { wxEVT_END_PROCESS, id, -1, (wxObjectEvent) (wxEventFunction) (wxProcessEventFunction) & fn, NULL},
 
 #endif
-    // __PROCESSH__
+    // _WX_PROCESSH__