unused parameter warnings suppressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ae8f576913
commit
a4c970041c
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user