Expected _wxwindow_p

Hi List,

Included is Boa Constructor generated code, However when I run it using

vs = VerzendSelectie.AdresSelectie(self, self.planrec.cli_id,
self.OnAdresSelected)

I get the following error:

Traceback (most recent call last):
  File "/home/dick/Clienten/src/StatusScrn.py", line 643, in OnAdres
    doc.SendDocument()
  File "/home/dick/Clienten/src/WordProcessing.py", line 437, in SendDocument
    vs = VerzendSelectie.AdresSelectie(self, self.planrec.cli_id,
self.OnAdresSelected)
  File "/home/dick/Clienten/src/VerzendSelectie.py", line 70, in __init__
    self._init_ctrls(parent)
  File "/home/dick/Clienten/src/VerzendSelectie.py", line 24, in _init_ctrls
    title='Verzend-adres selectie')
  File "/usr/lib/python2.3/site-packages/wxPython/frames.py", line 151, in
__init__
    self.this = framesc.new_wxFrame(*_args,**_kwargs)
TypeError: Type error in argument 1 of new_wxFrame. Expected _wxWindow_p.

It seems like a simple error I made, however I simply don't see it,

The code cannot be run without all supporting classes. But if someone sees the
probably simple mistake I made, I would be very happy.

Thanks in advance.

D. Kniep

VerzendSelectie.py (9.37 KB)