Użytkownik Ed Leafe napisał:
> dabo Commit
> Revision 6322
> Date: 2011-01-17 19:26:42 -0800 (Mon, 17 Jan 2011)
> Author: Ed
> Trac:http://trac.dabodev.com/changeset/6322
>
> Changed:
> U trunk/dabo/ui/uiwx/dGrid.py
>
Hi.
I think, problem is that drawText() method uses wx.ClientDC context,
while it should be the same wx.PaintDC you get in _paintHeader() method
and which is used for drawing sort order indicator.
After switching from:
txt = self.drawText("%s" % colObj.Caption, x, y, ...
to
dc.DrawText(colObj.Caption, x, y)
labels are displayed correctly.
--
Regards
Jacek Kałucki
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]