]> git.saurik.com Git - wxWidgets.git/commitdiff
applying patch, closes #11309
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 18 Jan 2010 09:03:05 +0000 (09:03 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 18 Jan 2010 09:03:05 +0000 (09:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp

index 26c3b4fdd8a7c70615f49589896b9fe964db40fc..4cd96c9e6acfaeceab48d19f93cfe6839df071a8 100644 (file)
@@ -4310,6 +4310,11 @@ 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_headerHeight) ); 
+#endif
     }
     else
     {