]> git.saurik.com Git - wxWidgets.git/commitdiff
unused parameter warnings suppressed
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 18 Sep 1999 17:34:17 +0000 (17:34 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 18 Sep 1999 17:34:17 +0000 (17:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/numdlgg.cpp
src/html/helpfrm.cpp
src/html/htmlfilter.cpp

index c6100c88ffcd862523c3bcb89b44c8b0c7ac692a..96b70f53a309d4d32307adf62d2c729f394370c3 100644 (file)
@@ -147,7 +147,7 @@ wxNumberEntryDialog::wxNumberEntryDialog(wxWindow *parent,
     wxEndBusyCursor();
 }
 
-void wxNumberEntryDialog::OnOK(wxCommandEvent& event)
+void wxNumberEntryDialog::OnOK(wxCommandEvent& WXUNUSED(event))
 {
     if ( (wxSscanf(m_spinctrl->GetValue(), _T("%lu"), &m_value) != 1) ||
          (m_value < m_min) || (m_value > m_max) )
@@ -159,7 +159,7 @@ void wxNumberEntryDialog::OnOK(wxCommandEvent& event)
     EndModal(wxID_OK);
 }
 
-void wxNumberEntryDialog::OnCancel(wxCommandEvent& event)
+void wxNumberEntryDialog::OnCancel(wxCommandEvent& WXUNUSED(event))
 {
     m_value = -1;
 
index 2cc721054d529533ebb538ed93f24a5cca92faac..c74e46c0a95a643f983b18a946cb752eeb5269c6 100644 (file)
@@ -611,7 +611,7 @@ void wxHtmlHelpFrame::OnContentsSel(wxTreeEvent& event)
 
 
 
-void wxHtmlHelpFrame::OnIndexSel(wxCommandEvent& event)
+void wxHtmlHelpFrame::OnIndexSel(wxCommandEvent& WXUNUSED(event))
 {
     wxHtmlContentsItem *it = (wxHtmlContentsItem*) m_IndexBox -> GetClientData(m_IndexBox -> GetSelection());
     if (it) m_HtmlWin -> LoadPage(it -> m_Book -> GetBasePath() + it -> m_Page);
@@ -619,13 +619,13 @@ void wxHtmlHelpFrame::OnIndexSel(wxCommandEvent& event)
 
 
 
-void wxHtmlHelpFrame::OnSearchSel(wxCommandEvent& event)
+void wxHtmlHelpFrame::OnSearchSel(wxCommandEvent& WXUNUSED(event))
 {
     wxHtmlContentsItem *it = (wxHtmlContentsItem*) m_SearchList -> GetClientData(m_SearchList -> GetSelection());
     if (it) m_HtmlWin -> LoadPage(it -> m_Book -> GetBasePath() + it -> m_Page);
 }
 
-void wxHtmlHelpFrame::OnSearch(wxCommandEvent& event)
+void wxHtmlHelpFrame::OnSearch(wxCommandEvent& WXUNUSED(event))
 {
     wxString sr = m_SearchText -> GetLineText(0);
 
index 37215c51707f90cce6b09914699ecbb0f79c271d..fbe7ba9bfa68ba2b61e7f50795bfa442d9503892 100644 (file)
@@ -42,7 +42,7 @@ IMPLEMENT_ABSTRACT_CLASS(wxHtmlFilter, wxObject)
 
 IMPLEMENT_DYNAMIC_CLASS(wxHtmlFilterPlainText, wxHtmlFilter)
 
-bool wxHtmlFilterPlainText::CanRead(const wxFSFile& file) const
+bool wxHtmlFilterPlainText::CanRead(const wxFSFile& WXUNUSED(file)) const
 {
     return TRUE;
 }