From e9a5d5b7d108f7a53440a8e7a84845de83dceec9 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 (cherry picked from commit f3da2e27e951469bc5f5271f99d7b5dc1bf55e1f) --- 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 b08b71414b..acd0972a5c 100644 --- a/interface/wx/listctrl.h +++ b/interface/wx/listctrl.h @@ -1570,10 +1570,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);