X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae7cbd1a1fb5e53f295a8c9b018aec49273efda1..eed9e4791274d68ea1fb0c556bf3199ecf88a7d9:/src/generic/listctrl.cpp diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index ad5c034988..5fd80d4198 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -72,6 +72,9 @@ #include "wx/renderer.h" +#ifdef __WXMAC__ + #include "wx/mac/private.h" +#endif // ---------------------------------------------------------------------------- // events // ---------------------------------------------------------------------------- @@ -4611,6 +4614,11 @@ bool wxGenericListCtrl::Create(wxWindow *parent, m_mainWin = new wxListMainWindow( this, -1, wxPoint(0,0), size, style ); +#if defined( __WXMAC__ ) && __WXMAC_CARBON__ + wxFont font ; + font.MacCreateThemeFont( kThemeViewsFont ) ; + SetFont( font ) ; +#endif if ( InReportView() ) { CreateHeaderWindow();