]> git.saurik.com Git - wxWidgets.git/commitdiff
Revert unneeded fix for list control headers from r63177.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 12 Mar 2010 09:36:37 +0000 (09:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 12 Mar 2010 09:36:37 +0000 (09:36 +0000)
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

index d42d0c43bb150cba4c1d6076764276c64ec847b6..3804bf0e6f68e61833e06fa31fca7b740d7bf1b8 100644 (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
     {