X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c1fae0d0ee4122b96a83c6e3bdd4f2ade9e71698..ad4a907bb77c5ca10aa02ab8474caa8b92d78c0c:/src/generic/listctrl.cpp diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index d42d0c43bb..3804bf0e6f 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -4313,11 +4313,6 @@ 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_headerWin->GetSize().y) ); -#endif } else {