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
This commit is contained in:
parent
d696577ccb
commit
36c10aa142
@ -2801,7 +2801,7 @@ void wxListCtrl::OnPaint(wxPaintEvent& event)
|
|||||||
// Reset the device origin since it may have been set
|
// Reset the device origin since it may have been set
|
||||||
dc.SetDeviceOrigin(0, 0);
|
dc.SetDeviceOrigin(0, 0);
|
||||||
|
|
||||||
wxPen pen(wxSystemSettings::GetColour(wxSYS_COLOUR_3DLIGHT), 1, wxSOLID);
|
wxPen pen(wxSystemSettings::GetColour(wxSYS_COLOUR_3DLIGHT));
|
||||||
dc.SetPen(pen);
|
dc.SetPen(pen);
|
||||||
dc.SetBrush(* wxTRANSPARENT_BRUSH);
|
dc.SetBrush(* wxTRANSPARENT_BRUSH);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user