Warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-07-20 14:01:57 +00:00
parent 9807f99505
commit c5a3900a26

View File

@@ -67,11 +67,11 @@ MySimpleCanvas::MySimpleCanvas( wxWindow *parent, wxWindowID id,
SetBackgroundColour( *wxWHITE );
}
void MySimpleCanvas::OnPaint( wxPaintEvent &event )
void MySimpleCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
{
wxPaintDC dc(this);
PrepareDC( dc );
dc.SetPen( *wxRED_PEN );
dc.SetBrush( *wxTRANSPARENT_BRUSH );
dc.DrawRectangle( 0,0,92,97 );
@@ -514,7 +514,7 @@ BEGIN_EVENT_TABLE( MyAutoScrollWindow, wxScrolledWindow)
END_EVENT_TABLE()
MyAutoScrollWindow::MyAutoScrollWindow( wxWindow *parent )
: wxScrolledWindow( parent, -1, wxDefaultPosition, wxDefaultSize,
: wxScrolledWindow( parent, -1, wxDefaultPosition, wxDefaultSize,
wxSUNKEN_BORDER|wxScrolledWindowStyle )
{
SetBackgroundColour( wxT("GREEN") );