Removed some TODOs in the Latex docs; changed wxMotif wxClipboard to match

wxGTK/wxMSW syntax; added Ron Kuris' wxExecute patch


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-02-09 21:22:58 +00:00
parent 3b1e466ce9
commit 5b6aa0ff15
24 changed files with 103 additions and 107 deletions

View File

@@ -306,7 +306,7 @@ void wxClipboard::Close()
wxCloseClipboard();
}
bool wxClipboard::IsSupportedFormat( wxDataFormat format, const wxString& WXUNUSED(id) )
bool wxClipboard::IsSupported( wxDataFormat format)
{
return wxIsClipboardFormatAvailable(format);
}

View File

@@ -15,6 +15,7 @@
#include "wx/utils.h"
#include "wx/app.h"
#include "wx/process.h"
#include <stdio.h>
#include <stdlib.h>
@@ -105,13 +106,15 @@ void xt_notify_end_process(XtPointer client, int *fid,
XtRemoveInput(*id);
if (process_data->process)
process_data->process->OnTerminate(process_data->pid);
process_data->process->OnTerminate(process_data->pid, 0); // What should 'status' be?
process_data->end_process = TRUE;
/* double deletion!
if (process_data->pid > 0)
delete process_data;
else
*/
process_data->pid = 0;
}
@@ -180,7 +183,10 @@ long wxExecute(char **argv, bool sync, wxProcess *handler)
XtAppProcessEvent((XtAppContext) wxTheApp->GetAppContext(), XtIMAll);
if (WIFEXITED(process_data->end_process) != 0)
{
delete process_data;
return WEXITSTATUS(process_data->end_process);
}
}
delete process_data;