From: Vadim Zeitlin Date: Sun, 21 Dec 2008 02:41:59 +0000 (+0000) Subject: fix unused variable warning (part of #10162) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/494492906358a8041c95e950b63b4c4d345b08cc?ds=inline fix unused variable warning (part of #10162) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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...") ); }