Add missing wxT().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
30cfcda5b5
commit
2263f62d9b
@ -317,13 +317,13 @@ int wxAddProcessCallback(wxEndProcessData *proc_data, int fd)
|
|||||||
CFSocketRef cfSocket = CFSocketCreateWithNative(kCFAllocatorDefault,fd,kCFSocketReadCallBack,&WXCF_EndProcessDetector,&context);
|
CFSocketRef cfSocket = CFSocketCreateWithNative(kCFAllocatorDefault,fd,kCFSocketReadCallBack,&WXCF_EndProcessDetector,&context);
|
||||||
if(cfSocket == NULL)
|
if(cfSocket == NULL)
|
||||||
{
|
{
|
||||||
wxLogError("Failed to create socket for end process detection");
|
wxLogError(wxT("Failed to create socket for end process detection"));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
CFRunLoopSourceRef runLoopSource = CFSocketCreateRunLoopSource(kCFAllocatorDefault, cfSocket, /*highest priority:*/0);
|
CFRunLoopSourceRef runLoopSource = CFSocketCreateRunLoopSource(kCFAllocatorDefault, cfSocket, /*highest priority:*/0);
|
||||||
if(runLoopSource == NULL)
|
if(runLoopSource == NULL)
|
||||||
{
|
{
|
||||||
wxLogError("Failed to create CFRunLoopSource from CFSocket for end process detection");
|
wxLogError(wxT("Failed to create CFRunLoopSource from CFSocket for end process detection"));
|
||||||
// closes the fd.. we can't really stop it, nor do we necessarily want to.
|
// closes the fd.. we can't really stop it, nor do we necessarily want to.
|
||||||
CFSocketInvalidate(cfSocket);
|
CFSocketInvalidate(cfSocket);
|
||||||
CFRelease(cfSocket);
|
CFRelease(cfSocket);
|
||||||
|
Loading…
Reference in New Issue
Block a user