From 8f9d397616d7a685b6c5e13ed982b94aa476e69e Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 4 Nov 1998 13:07:46 +0000 Subject: [PATCH] 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 --- src/generic/listctrl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 448f068c3f..e9b724c666 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -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; -- 2.50.0