Fix over aggressive clipping in generic wxListCtrl header drawing.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Apr 2010 00:37:13 +0000 (00:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Apr 2010 00:37:13 +0000 (00:37 +0000)
commit657823618330906fc824286e1e6a4d6e31d700f8
tree390db5fa1c7840cfc9df1a1939bcec273680c878
parent476de5ea9a695d360cd0f65761712526dd2178ee
Fix over aggressive clipping in generic wxListCtrl header drawing.

Clipping out 4 pixels vertically resulted in truncating any letters with
descent (e.g. "g" or "q") under OS X where the native header size is just tall
enough to show the text.

Simply don't clip that much but use the entire header width.

Closes #11780.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/generic/listctrl.cpp