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
This commit is contained in:
Vadim Zeitlin
2010-03-12 09:36:37 +00:00
parent 7eb670ac14
commit 5d12911287

View File

@@ -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
{