warnings (and some errors) fixes for wxUniv DLL build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-08-03 20:58:56 +00:00
parent 05e3a383e0
commit 61fef19b85
27 changed files with 168 additions and 138 deletions

View File

@@ -182,7 +182,7 @@ const wxBitmap& wxWindow::GetBackgroundBitmap(int *alignment,
// ----------------------------------------------------------------------------
// the event handlers executed when the window must be repainted
void wxWindow::OnNcPaint(wxPaintEvent& event)
void wxWindow::OnNcPaint(wxPaintEvent& WXUNUSED(event))
{
if ( m_renderer )
{
@@ -340,7 +340,7 @@ void wxWindow::DoDrawBorder(wxDC& dc, const wxRect& rect)
}
}
void wxWindow::DoDraw(wxControlRenderer *renderer)
void wxWindow::DoDraw(wxControlRenderer * WXUNUSED(renderer))
{
}
@@ -891,7 +891,7 @@ void wxWindow::SetScrollbar(int orient,
}
}
void wxWindow::SetScrollPos(int orient, int pos, bool refresh)
void wxWindow::SetScrollPos(int orient, int pos, bool WXUNUSED(refresh))
{
wxScrollBar *scrollbar = GetScrollbar(orient);
wxCHECK_RET( scrollbar, _T("no scrollbar to set position for") );