From: daniele <dga...@gm...> - 2005-02-14 18:53:12
|
Thank you very much for your advice. Unfortunately when I try to run the script I get: File "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils= .py", line 310, in RunScript exec codeObject in __main__.__dict__ File "C:\Python24\MathPlot_examples\examples\embedding_in_wx3.py", line 156, in ? app =3D MyApp(0) File "C:\Python24\Lib\site-packages\wx-2.5.3-msw-ansi\wx\_core.py", line 5301, in __init__ self._BootstrapApp() File "C:\Python24\Lib\site-packages\wx-2.5.3-msw-ansi\wx\_core.py", line 4980, in _BootstrapApp return _core_.PyApp__BootstrapApp(*args, **kwargs) File "C:\Python24\MathPlot_examples\examples\embedding_in_wx3.py", line 111, in OnInit self.panel =3D XRCCTRL(self.frame,"MainPanel") File "C:\Python24\Lib\site-packages\wx-2.5.3-msw-ansi\wx\xrc.py", line 203, in XRCCTRL return window.FindWindowById(XRCID(str_id)) AttributeError: 'NoneType' object has no attribute 'FindWindowById' Which frankly I don=B4t understand. Any further advice? Thank you, DG |