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:
@@ -4313,11 +4313,6 @@ void wxGenericListCtrl::CreateOrDestroyHeaderWindowAsNeeded()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
GetSizer()->Prepend( m_headerWin, 0, wxGROW );
|
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
|
else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user