unused parameter warnings suppressed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-05-11 12:37:53 +00:00
parent f6147cfc0a
commit 74e3313b25
13 changed files with 36 additions and 25 deletions

View File

@@ -349,7 +349,7 @@ void wxLog::DoLog(wxLogLevel level, const wxChar *szString, time_t t)
}
}
void wxLog::DoLogString(const wxChar *WXUNUSED(szString), time_t t)
void wxLog::DoLogString(const wxChar *WXUNUSED(szString), time_t WXUNUSED(t))
{
wxFAIL_MSG(_T("DoLogString must be overriden if it's called."));
}
@@ -371,7 +371,7 @@ wxLogStderr::wxLogStderr(FILE *fp)
m_fp = fp;
}
void wxLogStderr::DoLogString(const wxChar *szString, time_t t)
void wxLogStderr::DoLogString(const wxChar *szString, time_t WXUNUSED(t))
{
wxString str(szString);
str << _T('\n');
@@ -399,7 +399,7 @@ wxLogStream::wxLogStream(ostream *ostr)
m_ostr = ostr;
}
void wxLogStream::DoLogString(const wxChar *szString, time_t t)
void wxLogStream::DoLogString(const wxChar *szString, time_t WXUNUSED(t))
{
(*m_ostr) << wxConv_libc.cWX2MB(szString) << endl << flush;
}
@@ -805,7 +805,7 @@ void wxLogWindow::DoLog(wxLogLevel level, const wxChar *szString, time_t t)
m_bHasMessages = TRUE;
}
void wxLogWindow::DoLogString(const wxChar *szString, time_t t)
void wxLogWindow::DoLogString(const wxChar *szString, time_t WXUNUSED(t))
{
// put the text into our window
wxTextCtrl *pText = m_pLogFrame->TextCtrl();