Run CD, try to add a dTreeView widget to the CD and get this error:

Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 1455
4, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "ClassDesigner.py", line 2605, in addNewControl
    obj = mixedClass(parent, properties=props, attProperties=attProperties)
  File "ClassDesigner.py", line 2746, in __init__
    cmix.__init__(self, parent, **kwargs)
  File "c:\Python25\Lib\site-packages\dabo-full\trunk\ide\ClassDesignerControlMi
xin.py", line 106, in __init__
    self.setRootNode("Tree")
  File "C:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dTreeView.py"
, line 500, in setRootNode
    ret = self._rootNode = self.NodeClass(self, itemID, None)
  File "ClassDesigner.py", line 2746, in __init__
    cmix.__init__(self, parent, **kwargs)
  File "c:\Python25\Lib\site-packages\dabo-full\trunk\ide\ClassDesignerControlMi
xin.py", line 59, in __init__
    self._propDefaults[prop] = eval("self.%s" % prop)
  File "<string>", line 1, in <module>
  File "C:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dTreeView.py"
, line 195, in _getFontUnderline
    return self.Font.Underline
  File "C:\Python25\lib\site-packages\dabo-full\trunk\dabo\ui\uiwx\dFont.py", li
ne 128, in _getUnderline
    return self._nativeFont.GetUnderlined()
  File "C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", line 2091,
 in GetUnderlined
    return _gdi_.Font_GetUnderlined(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "Ok()" failed at ..\..\src\msw\font.cpp
(1066) in wxFont::GetUnderlined(): invalid font

I think this might be tied with the "MS Shell Dlg 2" font issues I
reported before on Windows.  I don't have time to look into it now.

Platform: Win
Python Version: 2.5.2 on win32
Dabo Version: Version 0.8.4; Revision ~4315
UI Version: 2.8.8.0 on wxMSW


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to