]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/buttonbar.cpp
prevent memory leak
[wxWidgets.git] / src / generic / buttonbar.cpp
index 512352bf79414e16c7161902bf1ec0a910f386e7..c05ef6385b4184e27b16fe21e2753bb02cf7edd7 100644 (file)
@@ -493,7 +493,7 @@ void wxButtonToolBar::OnCommand(wxCommandEvent& event)
 }
 
 // paints a border
-void wxButtonToolBar::OnPaint(wxPaintEvent& event)
+void wxButtonToolBar::OnPaint(wxPaintEvent& WXUNUSED(event))
 {
     wxPaintDC dc(this);