demo and drag image

Folks

I ran the wxPython demo on my Mac and got this error

2007-05-04 11:30:00.389 Python[20012] WARNING:
_wrapRunLoopWithAutoreleasePoolHandler got
kCFRunLoopExit, but there are no autorelease pools in
the stack.

and the drag image demo was leaving images everway.

Nigel

···

---
Nigel W. Moriarty

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Nigel W. Moriarty wrote:

Folks

I ran the wxPython demo on my Mac and got this error

2007-05-04 11:30:00.389 Python[20012] WARNING:
_wrapRunLoopWithAutoreleasePoolHandler got
kCFRunLoopExit, but there are no autorelease pools in
the stack.

I think this is harmless, but I've asked about it to be sure.

and the drag image demo was leaving images everway.

Thanks for reporting this. It can be fixed by using Refresh to update the window instead of drawing immediately with a wx.ClientDC. (wxMac is using a new core API for drawing now (CoreGraphics instead of QuickDraw) and so it has troubles doing "out of order" drawing. Everything works best if you now do all drawing in an EVT_PAINT handler. I'll update that sample in the demo.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!