git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32203
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// the width of the rect to draw: make it smaller to fit entirely
// inside the column rect
// the width of the rect to draw: make it smaller to fit entirely
// inside the column rect
+#ifdef __WXMAC__
+ int cw = wCol ;
+ int ch = h ;
+#else
wxRendererNative::Get().DrawHeaderButton
(
this,
dc,
wxRendererNative::Get().DrawHeaderButton
(
this,
dc,
- wxRect(x, HEADER_OFFSET_Y, cw, h - 2),
+ wxRect(x, HEADER_OFFSET_Y, cw, ch),
m_parent->IsEnabled() ? 0
: (int)wxCONTROL_DISABLED
);
m_parent->IsEnabled() ? 0
: (int)wxCONTROL_DISABLED
);
if ( InReportView() )
{
CreateHeaderWindow();
if ( InReportView() )
{
CreateHeaderWindow();
+#ifdef __WXMAC_CARBON__
+ if (m_headerWin)
+ {
+ wxFont font ;
+ font.MacCreateThemeFont( kThemeSmallSystemFont ) ;
+ m_headerWin->SetFont( font );
+ CalculateAndSetHeaderHeight();
+ }
+#endif
if ( HasFlag(wxLC_NO_HEADER) )
{
// VZ: why do we create it at all then?
if ( HasFlag(wxLC_NO_HEADER) )
{
// VZ: why do we create it at all then?