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