From 494492906358a8041c95e950b63b4c4d345b08cc Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 21 Dec 2008 02:41:59 +0000 Subject: [PATCH] fix unused variable warning (part of #10162) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/popup/popup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/popup/popup.cpp b/samples/popup/popup.cpp index 2cbf41b01c..547a1bf1a0 100644 --- a/samples/popup/popup.cpp +++ b/samples/popup/popup.cpp @@ -151,7 +151,7 @@ SimpleTransientPopup::~SimpleTransientPopup() { } -void SimpleTransientPopup::Popup(wxWindow *focus) +void SimpleTransientPopup::Popup(wxWindow* WXUNUSED(focus)) { wxLogMessage( wxT("0x%lx SimpleTransientPopup::Popup"), long(this) ); wxPopupTransientWindow::Popup(); @@ -380,7 +380,7 @@ MyFrame::~MyFrame() // event handlers -void MyFrame::OnActivate(wxActivateEvent& event) +void MyFrame::OnActivate(wxActivateEvent& WXUNUSED(event)) { wxLogMessage( wxT("In activate...") ); } -- 2.50.0