Set column count to 1 in wxListCtrl with list view

This commit is contained in:
Maarten Bent 2019-09-28 22:44:58 +02:00
parent 370ae40b35
commit b39c79cb4a

View File

@ -320,6 +320,9 @@ bool wxListCtrl::Create(wxWindow *parent,
if ( InReportView() )
MSWSetExListStyles();
if ( HasFlag(wxLC_LIST) )
m_colCount = 1;
return true;
}