]> git.saurik.com Git - wxWidgets.git/commitdiff
fix unused parameter warning
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 6 Jun 2009 23:13:03 +0000 (23:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 6 Jun 2009 23:13:03 +0000 (23:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/render/renddll.cpp

index ca0e0f7fd0877f52fa67fd9fea4120a85120f8c5..61f1ffbb8ecbc6142cf8bcb11e0d8d0ea488a62f 100644 (file)
@@ -27,10 +27,10 @@ class MyDllRenderer : public wxDelegateRendererNative
 {
 public:
     // draw the header control button (used by wxListCtrl)
-    virtual void DrawHeaderButton(wxWindow *win,
+    virtual void DrawHeaderButton(wxWindow * WXUNUSED(win),
                                   wxDC& dc,
                                   const wxRect& rect,
-                                  int flags = 0)
+                                  int WXUNUSED(flags) = 0)
     {
         dc.SetBrush(*wxCYAN_BRUSH);
         dc.SetTextForeground(*wxRED);