From f3da2e27e951469bc5f5271f99d7b5dc1bf55e1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C4=83t=C4=83lin=20R=C4=83ceanu?= Date: Tue, 18 Aug 2015 09:38:15 +0300 Subject: [PATCH] Correct document of wxListView constructor. The documented default values of constructor arguments didn't correspond to the reality. Closes https://github.com/wxWidgets/wxWidgets/pull/74 --- interface/wx/listctrl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/wx/listctrl.h b/interface/wx/listctrl.h index 2cec68cba4..5b825d8021 100644 --- a/interface/wx/listctrl.h +++ b/interface/wx/listctrl.h @@ -1565,10 +1565,10 @@ public: @see Create(), wxValidator */ - wxListView(wxWindow* parent, wxWindowID id, + wxListView(wxWindow* parent, wxWindowID winid = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, - long style = wxLC_ICON, + long style = wxLC_REPORT, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxListCtrlNameStr);