bug in wx.gridlabelrenderer + fix

wxpython 2.9.1.1, on Windows, OSX, and Linux.

The rendering for column headers is one pixel off, which can be seen
in the GridLabelRenderer demo shipped with wxPython. In that demo,
you can see that the grid lines drawn for the column headers do not
line up with the grid lines drawn for the columns in the rest of the
grid.

This can be fixed by changing line 130 of lib/mixins/
gridlabelrenderer.py (routine _onPaintColLabels) from

dc.SetDeviceOrigin(pt.x-x, pt.y)

to

dc.SetDeviceOrigin(pt.x-x-1, pt.y)

I verified that the problem exists on Windows, OSX, and Linux, and
also verified that the fix works on all.

Hi,

It seems wx.lib.platebtn can not support buffered dc well,

But without buffered dc, self-drawn window looks flicker while refresh

Is there any way to fix that?

Thanks,

B.regards