violent coding

Well, you're not quite there yet, but definitly closer! The embedded sample creates a splitter window and puts a C++ created window in one side and a wxPython created window in the other. So there was probably an error somewhere and the window reference retrieved from the Python code ended up being NULL.

My error came from 'embedded_sample.py':

class MyPanel(wx.Panel):
    def __init__(...):
        ...
        pycrust = shell.Shell(...)

'stc' wasn't compiled in my build.
Replacing that with
        pycrust=wx.TextCtrl(self,-1,"blah")
solved that bobo.

Robin, thanks for your help and for the embedded sample. While I still need
some more practice to really grasp jumping between C++/Python,
this "feature" is really great, opens all kinds of possibilities.
Vio