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:
@@ -582,9 +582,12 @@ void wxFileCtrl::Update()
|
|||||||
|
|
||||||
SortItems( ListCompare, 0 );
|
SortItems( ListCompare, 0 );
|
||||||
|
|
||||||
SetColumnWidth( 1, wxLIST_AUTOSIZE );
|
if (my_style & wxLC_REPORT)
|
||||||
SetColumnWidth( 2, wxLIST_AUTOSIZE );
|
{
|
||||||
SetColumnWidth( 3, wxLIST_AUTOSIZE );
|
SetColumnWidth( 1, wxLIST_AUTOSIZE );
|
||||||
|
SetColumnWidth( 2, wxLIST_AUTOSIZE );
|
||||||
|
SetColumnWidth( 3, wxLIST_AUTOSIZE );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxFileCtrl::SetWild( const wxString &wild )
|
void wxFileCtrl::SetWild( const wxString &wild )
|
||||||
|
Reference in New Issue
Block a user