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:
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user