git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43339
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/mac/private.h"
#endif
#include "wx/mac/private.h"
#endif
#include "wx/gtk/private.h"
#include "wx/gtk/win_gtk.h"
#endif
#include "wx/gtk/private.h"
#include "wx/gtk/win_gtk.h"
#endif
wxListItemAttr *attr = GetAttr();
if ( SetAttributes(dc, attr, highlighted) )
wxListItemAttr *attr = GetAttr();
if ( SetAttributes(dc, attr, highlighted) )
{
dc->DrawRectangle( m_gi->m_rectHighlight );
}
{
dc->DrawRectangle( m_gi->m_rectHighlight );
}
// GetAttr() and move these lines into the loop below
wxListItemAttr *attr = GetAttr();
if ( SetAttributes(dc, attr, highlighted) )
// GetAttr() and move these lines into the loop below
wxListItemAttr *attr = GetAttr();
if ( SetAttributes(dc, attr, highlighted) )
{
dc->DrawRectangle( rectHL );
}
{
dc->DrawRectangle( rectHL );
}
if ( m_hasFocus )
{
wxRect rect( GetLineHighlightRect( m_current ) );
if ( m_hasFocus )
{
wxRect rect( GetLineHighlightRect( m_current ) );
dc.SetPen( *wxBLACK_PEN );
dc.SetBrush( *wxTRANSPARENT_BRUSH );
dc.DrawRectangle( rect );
dc.SetPen( *wxBLACK_PEN );
dc.SetBrush( *wxTRANSPARENT_BRUSH );
dc.DrawRectangle( rect );