]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
support for toggle bitmap button
[wxWidgets.git] / 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
     {