From 3ffce750455d38e403605713fb8e0fb735060e79 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 20 Dec 2014 21:51:41 +0000 Subject: [PATCH] Suppress unused parameter warning in wxRichTextCtrl code. The entire event handler should arguably be removed entirely if it's unused, but for now just avoid the warning. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/richtext/richtextbackgroundpage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/richtext/richtextbackgroundpage.cpp b/src/richtext/richtextbackgroundpage.cpp index 8b08962eb2..ba87ee5b7a 100644 --- a/src/richtext/richtextbackgroundpage.cpp +++ b/src/richtext/richtextbackgroundpage.cpp @@ -510,7 +510,7 @@ void wxRichTextBackgroundPage::OnRichtextShadowUpdate( wxUpdateUIEvent& event ) * wxEVT_UPDATE_UI event handler for ID_RICHTEXTSHADOWCOLOURSWATCHCTRL */ -void wxRichTextBackgroundPage::OnRichtextshadowcolourswatchctrlUpdate( wxUpdateUIEvent& event ) +void wxRichTextBackgroundPage::OnRichtextshadowcolourswatchctrlUpdate( wxUpdateUIEvent& WXUNUSED(event) ) { // For now don't disable because of ugly disabled border on Windows }