]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/help/demo.cpp
lastChar was defined as a char when it should have been an int
[wxWidgets.git] / samples / help / demo.cpp
index 48b47d7f56e53359501996de73745eb2d5afd6cc..48fa9210e2ecc91d05766daf598ad73e5e168b5d 100644 (file)
@@ -448,14 +448,14 @@ void MyFrame::OnHelp(wxCommandEvent& event)
     ShowHelp(event.GetId(), m_help);
 }
 
-void MyFrame::OnShowContextHelp(wxCommandEvent& event)
+void MyFrame::OnShowContextHelp(wxCommandEvent& WXUNUSED(event))
 {
     // This starts context help mode, then the user
     // clicks on a window to send a help message
     wxContextHelp contextHelp(this);
 }
 
-void MyFrame::OnShowDialogContextHelp(wxCommandEvent& event)
+void MyFrame::OnShowDialogContextHelp(wxCommandEvent& WXUNUSED(event))
 {
     MyModalDialog dialog(this);
     dialog.ShowModal();