]> git.saurik.com Git - wxWidgets.git/commit
Erase the column label background in wxGrid to avoid display artefacts.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 21 May 2010 13:17:30 +0000 (13:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 21 May 2010 13:17:30 +0000 (13:17 +0000)
commitb5e97a17b1afb7cea4c03def51e830b5cd6d92d6
treed3f0d70442b89a7883c7544dc911ca91a93db65e
parent417b8fcc49295f5c4e33d0ea1b706da87085db08
Erase the column label background in wxGrid to avoid display artefacts.

Apparently the column label text is not always drawn correctly when double
buffering is used, so erase the background completely before drawing the text.

Unfortunately this might result in flicker but presumably correct display is
more important.

Closes #12055.

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