-#if !USE_SHARED_LIBRARY
- IMPLEMENT_DYNAMIC_CLASS(wxProcess, wxEvtHandler)
- IMPLEMENT_DYNAMIC_CLASS(wxProcessEvent, wxEvent)
-#endif
+// ----------------------------------------------------------------------------
+// event tables and such
+// ----------------------------------------------------------------------------
+
+DEFINE_EVENT_TYPE(wxEVT_END_PROCESS)
+
+IMPLEMENT_DYNAMIC_CLASS(wxProcess, wxEvtHandler)
+IMPLEMENT_DYNAMIC_CLASS(wxProcessEvent, wxEvent)
+
+// ============================================================================
+// wxProcess implementation
+// ============================================================================
+
+// ----------------------------------------------------------------------------
+// wxProcess creation
+// ----------------------------------------------------------------------------