From 1a48c2d914a820f20185af6cf8390c018472bf37 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 4 May 2019 16:25:18 +0200 Subject: [PATCH] Fix harmless "unused parameter" warning in wxMSW wxFileDialog See https://github.com/wxWidgets/wxWidgets/pull/1310 --- src/msw/filedlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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