]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/controls/controls.cpp
Version 2.6 in the readme.txt
[wxWidgets.git] / samples / controls / controls.cpp
index e1a921006c20d33afcc4c5990c006921c2ff46c8..56a209450e89cf8f3e91cfc9f48771d88d0bfd50 100644 (file)
@@ -1512,7 +1512,7 @@ void MyPanel::OnSpinUpdate( wxSpinEvent &event )
     m_text->AppendText(value);
 }
 
-void MyPanel::OnNewText( wxCommandEvent &event )
+void MyPanel::OnNewText( wxCommandEvent& /* event */)
 {
     m_nonWrappingText->SetLabel( wxT("This text is short\nbut still spans\nover three lines.") );
     m_wrappingText->SetLabel( wxT("This text is short but will still be wrapped if it is too long.") );