Fix wxExecute process end detect behavior for wxCocoa and wxMac. I have no
idea why the current code used for Intel Macs doesn't work but it's not working for me at all. This should probably be backported to 2.8. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1227,7 +1227,16 @@ bool wxHandleFatalExceptions(bool doit)
|
||||
// wxExecute support
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#define USE_OLD_DARWIN_END_PROCESS_DETECT (defined(__DARWIN__) && (defined(__WXMAC__) || defined(__WXCOCOA__)))
|
||||
/*
|
||||
NOTE: If this proves not to work well for wxMac then move back to the old
|
||||
behavior. If, however, it proves to work just fine, nuke all of the code
|
||||
for the old behavior. I strongly suggest backporting this to 2.8 as well.
|
||||
However, beware that while you can nuke the old code here, you cannot
|
||||
nuke the wxAddProcessCallbackForPid from the 2.8 branch (found in
|
||||
utilsexc_cf since it's an exported symbol).
|
||||
*/
|
||||
// #define USE_OLD_DARWIN_END_PROCESS_DETECT (defined(__DARWIN__) && defined(__WXMAC__))
|
||||
#define USE_OLD_DARWIN_END_PROCESS_DETECT 0
|
||||
|
||||
// wxMac/wxCocoa don't use the same process end detection mechanisms so we don't
|
||||
// need wxExecute-related helpers for them
|
||||
|
Reference in New Issue
Block a user