refresh the current item when the focus is gained/lost
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
02cbc27a34
commit
37fa909534
@ -2648,7 +2648,7 @@ void wxListMainWindow::RefreshSelected()
|
|||||||
|
|
||||||
for ( size_t line = from; line <= to; line++ )
|
for ( size_t line = from; line <= to; line++ )
|
||||||
{
|
{
|
||||||
if ( IsHighlighted(line) )
|
if ( IsHighlighted(line) || (line == m_current) )
|
||||||
{
|
{
|
||||||
if ( line < selMin )
|
if ( line < selMin )
|
||||||
selMin = line;
|
selMin = line;
|
||||||
|
Loading…
Reference in New Issue
Block a user