how to integrate wxPython into a C++ DLL

Robin Dunn wrote:

> I want to use wxPython from within the DLL.
In that case I expect that most of what you see in
wxPython/samples/embedding would still apply, but you'll need to figure out where/how to run the main event loop. Without knowing your DLL I
can't really suggest how to do that...

But how does the main event loop look like for wxPython?

Regards,

Cristina.

C. Iacob wrote:

Robin Dunn wrote:

> I want to use wxPython from within the DLL.
In that case I expect that most of what you see in
wxPython/samples/embedding would still apply, but you'll need to figure out where/how to run the main event loop. Without knowing your DLL I
can't really suggest how to do that...

But how does the main event loop look like for wxPython?

Normally it's just app.MainLoop() but it can be broken up as is demonstrated in demoMainLoop.py.

BTW, in the future there will be a wxEventLoop class that will let you do further customization of the main loop...

ยทยทยท

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