#if USE_POLLING
+#if wxUSE_THREADS
class wxProcessTerminationEventHandler: public wxEvtHandler
{
public:
return 0;
}
+#else // !wxUSE_THREADS
+int wxAddProcessCallbackForPid(wxEndProcessData*, int)
+{
+ wxLogDebug(wxT("Could not create termination detection thread."));
+ return -1;
+}
+#endif // wxUSE_THREADS/!wxUSE_THREADS
#else // !USE_POLLING