Am Montag, 3. November 2008 18:58:09 schrieb Paul McNett: > > Ok, please change the first print statement to: > > > > print updateBox, headerRect > > > > and let me know the output! >
I got both your mails together, so I did the changes you proposed in the second one. > Also, it could help to know if a non-Dabo case can force this problem. Can you open a terminal and start a python interpreter and type: > >>> import wx > >>> app = wx.App() > >>> rect1 = wx.Rect(0, 50, 10, 100) > >>> rect2 = wx.Rect(0, 25, 50, 200) > >>> wx.IntersectRect(rect1, rect2) > > wx.Rect(0, 50, 10, 100) Crashes promptly: [EMAIL PROTECTED] ~ $ python Python 2.5.2 (r252:60911, Nov 1 2008, 12:05:29) [GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import wx >>> app = wx.App() >>> rect1 = wx.Rect(0, 50, 10, 100) >>> rect2 = wx.Rect(0, 25, 50, 200) >>> wx.IntersectRect(rect1, rect2) Speicherzugriffsfehler [EMAIL PROTECTED] ~ $ Looking for the wxPython version: >>> wx.__version__ '2.8.9.1' So my wxPython definitely isn't well. Mismatch between very recent source and not so recent compiler? Or is this something else? I had the same problem with wxPython 2.8.7 and 2.8.8, but I didn't dig into it with those versions. Just saw the ClassDesigner crash and got the latest wxPython. > > and also change that print statement above to: > > print updateBox, type(updateBox), headerRect, type(headerRect) > Gives this output: [EMAIL PROTECTED] ~/svn_src/dabo_trunk/dabo $ python ui/uiwx/dGrid.py (0, 0, 183, 32) <class 'wx._core.Rect'> (0, 0, 60, 32) <class 'wx._core.Rect'> Speicherzugriffsfehler [EMAIL PROTECTED] ~/svn_src/dabo_trunk/dabo $ Using revision 4572, as before. I tried with and without "evt.Skip()" in __onWxHeaderPaint(), no visible difference. Greetings Sibylle -- Dr. Sibylle Koczian _______________________________________________ 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]
