// m_currentCursor = wxSTANDARD_CURSOR;
m_currentCursor = (wxCursor *) NULL;
m_resizeCursor = new wxCursor( wxCURSOR_SIZEWE );
+ m_isDraging = FALSE;
}
void wxListHeaderWindow::DoDrawRect( wxPaintDC *dc, int x, int y, int w, int h )
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;