]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/statbar/statbar.cpp
Order of initializations according to class construction.
[wxWidgets.git] / samples / statbar / statbar.cpp
index 7761a5e1d5dee7e7fba1149db0285b6150060b3d..e70243ea8058b8f088659cf85e7eba9ab07041aa 100644 (file)
@@ -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();