Applied patch [ 807060 ] warning free demos

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-09-18 13:33:34 +00:00
parent f0b1ccde63
commit babd36de3a
11 changed files with 88 additions and 88 deletions

View File

@@ -122,12 +122,12 @@ MyFrame::MyFrame(wxFrame *frame, const wxString& title, const wxPoint& pos, cons
}
// Intercept menu commands
void MyFrame::OnExit(wxCommandEvent& event)
void MyFrame::OnExit(wxCommandEvent& WXUNUSED(event))
{
this->Destroy();
}
void MyFrame::OnCloseWindow(wxCloseEvent& event)
void MyFrame::OnCloseWindow(wxCloseEvent& WXUNUSED(event))
{
static bool destroyed = FALSE;
if (destroyed)
@@ -159,7 +159,7 @@ MyCanvas::MyCanvas(wxFrame *frame):
WaterBrush = wxBrush(wxCol4, wxSOLID);
}
void MyCanvas::OnPaint(wxPaintEvent& event)
void MyCanvas::OnPaint(wxPaintEvent& WXUNUSED(event))
{
wxPaintDC dc(this);
Draw(dc);