Fix for ASSERT complaining about a call to SetColumnWidth

in list mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-06-18 08:55:47 +00:00
parent ac82c949d0
commit 5f53644cbb

View File

@@ -582,9 +582,12 @@ void wxFileCtrl::Update()
SortItems( ListCompare, 0 );
SetColumnWidth( 1, wxLIST_AUTOSIZE );
SetColumnWidth( 2, wxLIST_AUTOSIZE );
SetColumnWidth( 3, wxLIST_AUTOSIZE );
if (my_style & wxLC_REPORT)
{
SetColumnWidth( 1, wxLIST_AUTOSIZE );
SetColumnWidth( 2, wxLIST_AUTOSIZE );
SetColumnWidth( 3, wxLIST_AUTOSIZE );
}
}
void wxFileCtrl::SetWild( const wxString &wild )