diff --git a/samples/dataview/dataview.cpp b/samples/dataview/dataview.cpp index 28b0424db0..f5cd7bd4bd 100644 --- a/samples/dataview/dataview.cpp +++ b/samples/dataview/dataview.cpp @@ -932,7 +932,7 @@ void MyFrame::OnRightClick( wxMouseEvent &event ) wxLogMessage("wxEVT_MOUSE_RIGHT_UP, Click Point is X: %d, Y: %d", event.GetX(), event.GetY()); } -void MyFrame::OnGoto( wxCommandEvent &event) +void MyFrame::OnGoto(wxCommandEvent& WXUNUSED(event)) { wxDataViewItem item = m_list_model->GetItem( 50 ); m_listCtrl->EnsureVisible(item,m_col);