Changed m_font to * GetFont() since m_font isn't in all implementations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
910276d73f
commit
8f9d397616
@ -705,7 +705,7 @@ void wxListHeaderWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
||||
|
||||
dc.BeginDrawing();
|
||||
|
||||
dc.SetFont( m_font );
|
||||
dc.SetFont( *GetFont() );
|
||||
|
||||
int w = 0;
|
||||
int h = 0;
|
||||
@ -1020,7 +1020,7 @@ void wxListMainWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
||||
|
||||
dc.BeginDrawing();
|
||||
|
||||
dc.SetFont( m_font );
|
||||
dc.SetFont( *GetFont() );
|
||||
|
||||
wxNode *node = m_lines.First();
|
||||
while (node)
|
||||
@ -1845,7 +1845,7 @@ long wxListMainWindow::GetMode( void ) const
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user