From 5d12911287cc904447883e389f22ea0a8eda0742 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 12 Mar 2010 09:36:37 +0000 Subject: [PATCH] Revert unneeded fix for list control headers from r63177. The call to SetItemMinSize() shouldn't be needed and the latest OS X version does work correctly without it. Apparently the real bug was fixed somewhere else in the meanwhile. Closes #11309. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/listctrl.cpp | 5 ----- 1 file changed, 5 deletions(-) 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 { -- 2.45.2