Hi Robin,
I'm in the process of upgrading my Windows box to 2.5.4.1, but I've run into a couple snags. ;-/
First, I found that I needed to copy the "<wxWidgets>/wxPython/src/*_ex.py" files from my wxWidgets source folder into the wxPython 2.5.4.1-devel package in order to re-SWIG wxMozilla. After doing so, it seemed to build and install fine.
However, when I then try and run an app using wxMozilla, I get the following traceback:
Traceback (most recent call last):
File "C:\oss\eclass_builder\editor.py", line 4185, in ?
app = MyApp(0)
File "C:\Python23\Lib\site-packages\wx-2.5.4-msw-ansi\wx\_core.py", line 5577,
in __init__
self._BootstrapApp()
File "C:\Python23\Lib\site-packages\wx-2.5.4-msw-ansi\wx\_core.py", line 5229,
in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "C:\oss\eclass_builder\editor.py", line 4146, in OnInit
self.frame = MainFrame2(None, -1, "EClass.Builder")
File "C:\oss\eclass_builder\editor.py", line 497, in __init__
self.mozilla = wxMozillaBrowser(self.previewpanel, -1, style = wxSIMPLE_BORD
ER | wxCLIP_CHILDREN)
File "C:\Python23\Lib\site-packages\wx-2.5.4-msw-ansi\wx\mozilla.py", line 19,
in __init__
newobj = _mozilla.new_MozillaBrowser(*args, **kwargs)
TypeError: Expected a pointer
I noticed in the CHANGES doc that you mention something about a change to the pointers returned by the wrapper, and I wondered if there's some change I need to make to my .i file to update. I couldn't see anything obvious in the wxPython .i files though. ;-/ Any ideas?
Also, do I need to be including my_typemaps.i and typemaps.i any longer? I don't see it in the wxPython .i files, and I get the same results whether or not I include it, so I was wondering if that's something I can take out.
Thanks,
Kevin