wxListCtrl doesn't select the first item in

single selection mode anymore (as per MSW).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@6929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-03-25 13:36:03 +00:00
parent ff9282a83f
commit afc91dbf75

View File

@@ -2681,7 +2681,7 @@ void wxListMainWindow::CalculatePositions()
}
}
void wxListMainWindow::RealizeChanges( void )
void wxListMainWindow::RealizeChanges()
{
if (!m_current)
{
@@ -2691,7 +2691,9 @@ void wxListMainWindow::RealizeChanges( void )
if (m_current)
{
FocusLine( m_current );
if (m_mode & wxLC_SINGLE_SEL) m_current->Hilight( TRUE );
// TODO: MSW doesn't automatically hilight the
// first item.
// if (m_mode & wxLC_SINGLE_SEL) m_current->Hilight( TRUE );
}
}