[wxPython] wxHtmlWindow?

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.

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:

Apparently at one point in time it was called flags, as that is what was
copy and pasted into the wrapper code. You can use flags for now, but I'll
change it to style for 2.3.3. You can also use positional args instead of
keyword and then it will work now and in 2.3.3.

···

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