X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e0f6b731a80035dab1c2d1224f8a2dea0c9de947..8ddd9176a46065ab74d6ced1ed480e5affb4e1e2:/src/common/process.cpp diff --git a/src/common/process.cpp b/src/common/process.cpp index 3127c762c6..518549e660 100644 --- a/src/common/process.cpp +++ b/src/common/process.cpp @@ -47,6 +47,15 @@ IMPLEMENT_DYNAMIC_CLASS(wxProcessEvent, wxEvent) // wxProcess creation // ---------------------------------------------------------------------------- +#if WXWIN_COMPATIBILITY_2_2 + +wxProcess::wxProcess(wxEvtHandler *parent, bool redirect) +{ + Init(parent, wxID_ANY, redirect ? wxPROCESS_REDIRECT : wxPROCESS_DEFAULT); +} + +#endif // WXWIN_COMPATIBILITY_2_2 + void wxProcess::Init(wxEvtHandler *parent, int id, int flags) { if ( parent )