]> git.saurik.com Git - wxWidgets.git/commitdiff
fix unused variable warning (part of #10162)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 21 Dec 2008 02:41:59 +0000 (02:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 21 Dec 2008 02:41:59 +0000 (02:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/popup/popup.cpp

index 2cbf41b01cec9c953bbe55ae91b374db201cdb0a..547a1bf1a0d999fd804e8ac723671239d0f2e2f3 100644 (file)
@@ -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...") );
 }