[wxPython-users] ScrolledMessageDialog error

Robin Dunn robin at alldunn.com
Thu Mar 1 10:21:41 PST 2007


luisgustavo at petrobras.com.br wrote:
> Friends,
> 
>         My program is failing when it tries to open a
> ScrolledMessageDialog. The button works sometimes but after this bug it
> won´t. open the dialog again:
> 
> Traceback (most recent call last):
>   File "C:\svnteste\fouling\runner\fouling.py", line 429, in onExecClick
>     dlg = wx.lib.dialogs.ScrolledMessageDialog(self, s, "message test")
>   File
> "C:\Python24\lib\site-packages\wx-2.8-msw-unicode\wx\lib\dialogs.py", line
> 38, in __init__
>     style=wx.TE_MULTILINE | wx.TE_READONLY)
>   File "C:\Python24\lib\site-packages\wx-2.8-msw-unicode\wx\_controls.py",
> line 1690, in __init__
>     _controls_.TextCtrl_swiginit(self,_controls_.new_TextCtrl(*args,
> **kwargs))
> wx._core.PyAssertionError: C++ assertion "wxAssertFailure" failed at
> ..\..\src\msw\control.cpp(159) in wxControl::MSWCreateControl():
> CreateWindowEx("EDIT", flags=52211844, ex=00000200) failed
> 
>        Does anybody have any Idea of what is causing this?
> 

Please create a small runnable sample that shows the problem so we can 
see exactly what you are trying to do.

http://wiki.wxpython.org/index.cgi/MakingSampleApps

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





More information about the wxpython-users mailing list