diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 26c3b4fdd8..4cd96c9e6a 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -4310,6 +4310,11 @@ void wxGenericListCtrl::CreateOrDestroyHeaderWindowAsNeeded() #endif GetSizer()->Prepend( m_headerWin, 0, wxGROW ); +#ifdef __WXOSX__ + // TODO not tested under other platforms, remove the platform condition if + // it works on those as well + GetSizer()->SetItemMinSize( m_headerWin, wxSize(-1,m_headerHeight) ); +#endif } else {