Hi:
This is my first post to the list, =)
When I add a BitmapCanvas in the resourceEditor I get lots of errors in the
console, and the component doesn't get added.
I'm running OSX 10.4.11, PythonCard 0.8.1 and who knows which wx under that.
Thanks in advance for any pointers.
CGContextConcatCTM: invalid context
CGContextSaveGState: invalid context
doClip: invalid context
CGContextSaveGState: invalid context
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PythonCard/menu.py",
line 204, in _dispatch
handler(background, aWxEvent)
File "resourceEditor.py", line 1188, in on_componentAdd_command
self.create_component(desc, False, "New"+className, "create")
File "resourceEditor.py", line 1098, in create_component
self.components[name] = desc
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PythonCard/model.py",
line 98, in __setitem__
control = component.ComponentFactory().createComponent(self.parent,
self.parent.panel, item)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PythonCard/component.py",
line 347, in createComponent
component = clazz(aParent, aResource)
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PythonCard/components/bitmapcanvas.py",
line 103, in __init__
self.clear()
File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PythonCard/components/bitmapcanvas.py",
line 217, in clear
dc.BlitPointSize((0, 0), (self._size[0], self._size[1]), self._bufImage,
(0, 0))
File
"//Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-
2.8-mac-unicode/wx/_gdi.py", line 3385, in BlitPointSize
return _gdi_.DC_BlitPointSize(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "status == noErr" failed at
/BUILD/wxPython-src-2.8.4.0/src/mac/carbon/graphics.cpp(1324) in
EnsureIsValid(): Cannot nest wxDCs on the same window
|