diff --git a/src/msw/filedlg.cpp b/src/msw/filedlg.cpp index 7dc4741a45..1a3d3a5c91 100644 --- a/src/msw/filedlg.cpp +++ b/src/msw/filedlg.cpp @@ -358,7 +358,7 @@ void wxFileDialog::MSWOnSelChange(WXHWND hDlg) m_extraControl->UpdateWindowUI(wxUPDATE_UI_RECURSE); } -void wxFileDialog::MSWOnTypeChange(WXHWND hDlg, int nFilterIndex) +void wxFileDialog::MSWOnTypeChange(WXHWND WXUNUSED(hDlg), int nFilterIndex) { // Filter indices are 1-based, while we want to use 0-based index, as // usual. However the input index can apparently also be 0 in some