]> git.saurik.com Git - wxWidgets.git/commitdiff
A better fix for one unused variable warning (one that actually compiles in debug...
authorJaakko Salli <jaakko.salli@dnainternet.net>
Fri, 3 Jul 2009 14:49:19 +0000 (14:49 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Fri, 3 Jul 2009 14:49:19 +0000 (14:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/propgrid/propgrid.cpp

index 861d4dc1c00be6d24682aefa5fc18f2c4c5b5360..2585d1fb1519fc83fce99b9f438366eb83f8a128 100644 (file)
@@ -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();
 }