dc.BeginDrawing();
- dc.SetFont( m_font );
+ dc.SetFont( *GetFont() );
int w = 0;
int h = 0;
dc.BeginDrawing();
- dc.SetFont( m_font );
+ dc.SetFont( *GetFont() );
wxNode *node = m_lines.First();
while (node)
if (line->IsHilighted()) ret++;
node = node->Next();
}
- return 0;
+ return ret;
}
void wxListMainWindow::SetMode( long mode )
void wxListMainWindow::CalculatePositions( void )
{
wxPaintDC dc( this );
- dc.SetFont( m_font );
+ dc.SetFont( *GetFont() );
int iconSpacing = 0;
if (m_mode & wxLC_ICON) iconSpacing = m_normal_spacing;