]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/erase/erase.cpp
Fixed the code to actually work.
[wxWidgets.git] / samples / erase / erase.cpp
index 2e1d859d80ddc137efd9b9a2116886cbb4bc2474..6e87821b5ef0e49f0e382dc2179b843c998113ed 100644 (file)
@@ -203,7 +203,7 @@ void MyCanvas::OnChar( wxKeyEvent &event )
     
 }
 
-void MyCanvas::OnPaint( wxPaintEvent &event )
+void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
 {
     wxPaintDC dc(this);
     PrepareDC( dc );