embed wxPython sample problem

Hi All,

I am using Win XP SP1 and VC++ 6.00, Python-2.4.1, wxPython-2.6.0.1.
and have problems running the embed wxPython sample as follows

1. I get an Assert error due to the Python Window being NULL.
2. RedirectStdio() is not working as it should have produced
    a traceback for the error in 1.

I have set the sample up to have a console Window as well as
the GUI Window and this produces the following in the console Window

Traceback (most recent call last):
       File "(string)", line 9 in makeWindow
       File "f:\projects\wx\embedded\embedded_sample.py,
               line 6, in __init__
         wx.Panel.__init__(self, parent, -1, style=wx.SUNKEN_BORDER)
       File "e:\wxWidgets-2.6.0.1\wxPython\wx\windows.py
               line 61, in __init__
         newobj = _windows_.new_Panel(*args, **kwargs)
wx._core.PyNoAppError: The wx.App object must be created first

Any help greatly appreciated.

Noel Diviney

···

--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/