diff --git a/samples/statbar/statbar.cpp b/samples/statbar/statbar.cpp index 7761a5e1d5..e70243ea80 100644 --- a/samples/statbar/statbar.cpp +++ b/samples/statbar/statbar.cpp @@ -497,19 +497,19 @@ void MyFrame::OnUpdateSetStyleRaised(wxUpdateUIEvent &event) event.Check(m_statbarStyle == wxSB_RAISED); } -void MyFrame::OnSetStyleNormal(wxCommandEvent &event) +void MyFrame::OnSetStyleNormal(wxCommandEvent & WXUNUSED(event)) { m_statbarStyle = wxSB_NORMAL; ApplyStyle(); } -void MyFrame::OnSetStyleFlat(wxCommandEvent &event) +void MyFrame::OnSetStyleFlat(wxCommandEvent & WXUNUSED(event)) { m_statbarStyle = wxSB_FLAT; ApplyStyle(); } -void MyFrame::OnSetStyleRaised(wxCommandEvent &event) +void MyFrame::OnSetStyleRaised(wxCommandEvent & WXUNUSED(event)) { m_statbarStyle = wxSB_RAISED; ApplyStyle();