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