Christopher Barker wrote:
> Astan,
> 
> Maybe this should only be on the FloatCanvas list -- but I'm sending to 
> wxPython-users as well for the moment.
> 
> Astan Chee wrote:
>> I've added functionalities like rubberbands 
> 
> Does this work right for you? I'm getting
> 
> "EnsureIsValid(): Cannot nest wxDCs on the same window"
> 
> errors on OS-X, but I haven't had a chance to look yet at why.

This will happen if you have a paint or client DC associated with a 
window and then you either cause a recursive call to the same code, or 
you have some other code that is called that creates another DC for the 
same window before the first one is destroyed.  This is an issue only on 
OS X where you must make sure that there is only one active DC at a time 
for the window.

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

_______________________________________________
FloatCanvas mailing list
[email protected]
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to