]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/process.h
Cast for argument to delete[] - VC6 doesn't want to delete a const pointer
[wxWidgets.git] / include / wx / process.h
index a904f879ad9aec3211ab284fd3a0a6270e3c225c..d49f9f9242743e095aeda3436ec21912d71ea3bc 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        process.h
+// Name:        wx/process.h
 // Purpose:     wxProcess class
 // Author:      Guilhem Lavaux
 // Modified by: Vadim Zeitlin to check error codes, added Detach() method
@@ -130,9 +130,7 @@ protected:
 // wxProcess events
 // ----------------------------------------------------------------------------
 
-BEGIN_DECLARE_EVENT_TYPES()
-    DECLARE_EXPORTED_EVENT_TYPE(WXDLLIMPEXP_BASE, wxEVT_END_PROCESS, 440)
-END_DECLARE_EVENT_TYPES()
+extern WXDLLIMPEXP_BASE const wxEventType wxEVT_END_PROCESS;
 
 class WXDLLIMPEXP_BASE wxProcessEvent : public wxEvent
 {