From 62c4453a410164069704d82517bdf4fc3023b71d Mon Sep 17 00:00:00 2001 From: Jaakko Salli Date: Fri, 3 Jul 2009 14:49:19 +0000 Subject: [PATCH] A better fix for one unused variable warning (one that actually compiles in debug mode) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/propgrid/propgrid.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/samples/propgrid/propgrid.cpp b/samples/propgrid/propgrid.cpp index 861d4dc1c0..2585d1fb15 100644 --- a/samples/propgrid/propgrid.cpp +++ b/samples/propgrid/propgrid.cpp @@ -2433,11 +2433,13 @@ void FormMain::OnDelPropRClick( wxCommandEvent& WXUNUSED(event) ) // ----------------------------------------------------------------------- -void FormMain::OnContextMenu( wxContextMenuEvent& WXUNUSED(event) ) +void FormMain::OnContextMenu( wxContextMenuEvent& event ) { wxLogDebug(wxT("FormMain::OnContextMenu(%i,%i)"), event.GetPosition().x,event.GetPosition().y); + wxUnusedVar(event); + //event.Skip(); }