X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dfad0599246651d4994e348d868a3e65613c7379..5b6ec9803a058368a1b240a22d444c7301c5715a:/src/motif/filedlg.cpp diff --git a/src/motif/filedlg.cpp b/src/motif/filedlg.cpp index b94e314e2f..81567f5d87 100644 --- a/src/motif/filedlg.cpp +++ b/src/motif/filedlg.cpp @@ -107,13 +107,14 @@ char *wxFileSelectorEx(const char *title, wxString wxFileDialog::m_fileSelectorAnswer = ""; bool wxFileDialog::m_fileSelectorReturned = FALSE; -void wxFileSelCancel(Widget fs, XtPointer client_data, XmFileSelectionBoxCallbackStruct *cbs) +void wxFileSelCancel( Widget WXUNUSED(fs), XtPointer WXUNUSED(client_data), + XmFileSelectionBoxCallbackStruct *WXUNUSED(cbs) ) { wxFileDialog::m_fileSelectorAnswer = ""; wxFileDialog::m_fileSelectorReturned = TRUE; } -void wxFileSelOk(Widget fs, XtPointer client_data, XmFileSelectionBoxCallbackStruct *cbs) +void wxFileSelOk(Widget WXUNUSED(fs), XtPointer WXUNUSED(client_data), XmFileSelectionBoxCallbackStruct *cbs) { char *filename = NULL; if (!XmStringGetLtoR(cbs->value, XmSTRING_DEFAULT_CHARSET, &filename)) { @@ -147,7 +148,7 @@ int wxFileDialog::ShowModal() { wxBeginBusyCursor(); - static char fileBuf[512]; +// static char fileBuf[512]; Widget parentWidget = (Widget) 0; if (m_parent) {