git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40280
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- wxProcessTerminationEventHandler* handler = new wxProcessTerminationEventHandler(proc_data);
+ wxProcessTerminationEventHandler* handler = new wxProcessTerminationEventHandler(proc_data);
wxProcessTerminationThread* thread = new wxProcessTerminationThread(proc_data, handler);
wxProcessTerminationThread* thread = new wxProcessTerminationThread(proc_data, handler);
if (thread->Create() != wxTHREAD_NO_ERROR)
{
wxLogDebug(wxT("Could not create termination detection thread."));
if (thread->Create() != wxTHREAD_NO_ERROR)
{
wxLogDebug(wxT("Could not create termination detection thread."));
wxLogDebug(wxT("Couldn't create runloopsource"));
return -1;
}
wxLogDebug(wxT("Couldn't create runloopsource"));
return -1;
}
CFRelease(CFMachPortForProcess);
CFRunLoopAddSource(CFRunLoopGetCurrent(),runloopsource,kCFRunLoopDefaultMode);
CFRelease(CFMachPortForProcess);
CFRunLoopAddSource(CFRunLoopGetCurrent(),runloopsource,kCFRunLoopDefaultMode);
-// NOTE: This doens't really belong here but this was a handy file to
+// NOTE: This doesn't really belong here but this was a handy file to
// put it in because it's already compiled for wxCocoa and wxMac GUI lib.
// put it in because it's already compiled for wxCocoa and wxMac GUI lib.
static wxStandardPathsCF gs_stdPaths;
wxStandardPathsBase& wxGUIAppTraits::GetStandardPaths()
{
return gs_stdPaths;
}
static wxStandardPathsCF gs_stdPaths;
wxStandardPathsBase& wxGUIAppTraits::GetStandardPaths()
{
return gs_stdPaths;
}