[wxPython] wxPython embedded in wxWindows...

I am attempting to embed wxPython inside of a wxWindows application....

Abbreviated version of my code....

// Inside of wxWindows C++ code ....
create a frame
Py_Initialize()
PyRun_SimpleString( "from wxPython.wx import wxMessageBox\n" )

// end code...

My problem is that the wxWindows application does not terminate when I exit
it. If I don't "import" the wxPython code, then all is well.

Am I overlooking something?

jaime wyant (jwyant@sfbcic . com)
MS Farm Bureau
(601) 977 - 4291

I am attempting to embed wxPython inside of a wxWindows application....

Abbreviated version of my code....

// Inside of wxWindows C++ code ....
create a frame
Py_Initialize()
PyRun_SimpleString( "from wxPython.wx import wxMessageBox\n" )

// end code...

My problem is that the wxWindows application does not terminate when I

exit

it. If I don't "import" the wxPython code, then all is well.

Am I overlooking something?

Look at the wx-users archive from the past couple weeks for a conversation
about this, and identification of some of the issues. The ball is currently
in my court to try and solve the final step, but I've spent the past five
days rebuilding my primary development machine...

ยทยทยท

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