From 36c10aa142e23b1e6dffb15eb41fe259c7df7502 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 17 Mar 2008 20:46:36 +0000 Subject: [PATCH] don't provide unnecessary (as default) arguments to wxPen ctor, this incidentally fixes deprecation warnings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/listctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index a0d60fea2e..0a35839f26 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -2801,7 +2801,7 @@ void wxListCtrl::OnPaint(wxPaintEvent& event) // Reset the device origin since it may have been set dc.SetDeviceOrigin(0, 0); - wxPen pen(wxSystemSettings::GetColour(wxSYS_COLOUR_3DLIGHT), 1, wxSOLID); + wxPen pen(wxSystemSettings::GetColour(wxSYS_COLOUR_3DLIGHT)); dc.SetPen(pen); dc.SetBrush(* wxTRANSPARENT_BRUSH);