I'm using wxPython 2.3.2.1. According to the wxWindow docs, the wxHtmlWindow
constructor accepts a "style" parameter, but I can't seem to access it from
Python:
z = wxHtmlWindow( None, -1, style=wxSUNKEN_BORDER)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "c:\apps\python22\lib\site-packages\wxPython\html.py", line 601, in
__init__
self.this = apply(htmlc.new_wxHtmlWindow,_args,_kwargs)
TypeError: 'style' is an invalid keyword argument for this function
Have I missed something?
Oddly enough, if I load from a .xrc resource file, the styles in the resource
file ARE honored.
···
--
- Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.