Set column count to 1 in wxListCtrl with list view
This commit is contained in:
parent
370ae40b35
commit
b39c79cb4a
@ -320,6 +320,9 @@ bool wxListCtrl::Create(wxWindow *parent,
|
||||
if ( InReportView() )
|
||||
MSWSetExListStyles();
|
||||
|
||||
if ( HasFlag(wxLC_LIST) )
|
||||
m_colCount = 1;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user