]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/process.h
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / include / wx / process.h
index cfc4ca9627d806b3fb65d85ebdb1c5696734d7f7..91c71032ebd3b171e7ceb3f40af4b9917ffeaf05 100644 (file)
@@ -114,8 +114,12 @@ public:
         // the exit code
     int GetExitCode() { return m_exitcode; }
 
+    // implement the base class pure virtual
+    virtual wxEvent *Clone() const { return new wxProcessEvent(*this); }
+
 public:
-    int m_pid, m_exitcode;
+    int m_pid,
+        m_exitcode;
 
     DECLARE_DYNAMIC_CLASS(wxProcessEvent)
 };