[xp vc7.1 wx26 wxPython2.6]embedded sample

Jake Skinner wrote:

Hello,

I am trying to run the embedded sample, however I keep getting '*****
Error importing the wxPython API! *****'.

Is your debug Python able to import the debug wxPython? Have you tried tracing into the wxPyCoreAPI_IMPORT call to see what is going wrong?

I had to change the make file slightly, it was setup for wx2.5 and multi
dll's, also 'wxPyMake_wxObject' was short of a boolean parameter. ie
PyObject* arg = wxPyMake_wxObject(parent); I changed it to PyObject* arg
= wxPyMake_wxObject(parent, TRUE);

These have been fixed already.

ยทยทยท

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