wxCocoa link fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton
2004-10-08 00:08:33 +00:00
parent 8a9c20b016
commit 51678b5b76
2 changed files with 3 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ extern void wxHandleProcessTermination(wxEndProcessData *proc_data);
// child process. The return valus is port-specific. // child process. The return valus is port-specific.
extern int wxAddProcessCallback(wxEndProcessData *proc_data, int fd); extern int wxAddProcessCallback(wxEndProcessData *proc_data, int fd);
#if defined(__DARWIN__) && defined(__WXMAC__) #if defined(__DARWIN__)
// For ports (e.g. DARWIN) which can add callbacks based on the pid // For ports (e.g. DARWIN) which can add callbacks based on the pid
extern int wxAddProcessCallbackForPid(wxEndProcessData *proc_data, int pid); extern int wxAddProcessCallbackForPid(wxEndProcessData *proc_data, int pid);
#endif #endif

View File

@@ -1143,7 +1143,7 @@ int wxGUIAppTraits::WaitForChild(wxExecuteData& execData)
} }
#if defined(__DARWIN__) && defined(__WXMAC__) #if defined(__DARWIN__)
endProcData->tag = wxAddProcessCallbackForPid(endProcData, execData.pid); endProcData->tag = wxAddProcessCallbackForPid(endProcData, execData.pid);
#else #else
endProcData->tag = wxAddProcessCallback endProcData->tag = wxAddProcessCallback
@@ -1153,7 +1153,7 @@ int wxGUIAppTraits::WaitForChild(wxExecuteData& execData)
); );
execData.pipeEndProcDetect.Close(); execData.pipeEndProcDetect.Close();
#endif // defined(__DARWIN__) && defined(__WXMAC__) #endif // defined(__DARWIN__)
if ( execData.flags & wxEXEC_SYNC ) if ( execData.flags & wxEXEC_SYNC )
{ {