From 80141760e86e33bde2814d0c70982dde02dbaeb6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 17 Feb 2020 19:39:01 +0100 Subject: [PATCH] Avoid harmless unused parameter warning in wxUniv build Just add wxUnusedVar() to suppress it. --- src/msw/window.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/msw/window.cpp b/src/msw/window.cpp index 984b7c7be3..ff54fd0008 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -2676,7 +2676,9 @@ bool wxWindowMSW::MSWProcessMessage(WXMSG* pMsg) return true; } } -#endif // __WXUNIVERSAL__ +#else // __WXUNIVERSAL__ + wxUnusedVar(pMsg); +#endif // !__WXUNIVERSAL__/__WXUNIVERSAL__ #if wxUSE_TOOLTIPS if ( m_tooltip )