Sibylle Koczian wrote:
> "Paul McNett" <[EMAIL PROTECTED]> schrieb:
>> I hate to say it, but we can't help you: this is a wxPython or wxWidgets
>> problem. I'd start by posting the code that crashes (the wx-only code)
>> to the wxPython-users list, along with OS and wxPython version
>> information, and how you installed. I know there are gentoo people
>> listening there.
>>
>
> Well, you _did_ help me to localize it, so I can post something useful
> to the wxPython list. I looked in the wxPython bugtracker for
> "IntersectRect", but didn't find anything relevant. Didn't expect to,
> because such a bug would be a showstopper if it happened regularly.
If you want to work around this temporarily, you can safely make the following
change
to your working copy:
Index: dabo/ui/uiwx/dGrid.py
===================================================================
--- dabo/ui/uiwx/dGrid.py (revision 4654)
+++ dabo/ui/uiwx/dGrid.py (working copy)
@@ -2315,7 +2315,7 @@
for col in self._columns:
headerRect = col._getHeaderRect()
- intersect = wx.IntersectRect(updateBox, headerRect)
+ intersect = headerRect
if intersect is None:
# column isn't visible
continue
It'll be wasting time drawing the off-screen grid headers, but that is probably
minimal anyway.
Paul
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]