2.4.0.6 wxNotebook_AddPage() problem

I have installed 2.4.0.6 on Win NT (not unicode) for Python 2.2.
When I try to run Boa Constructor from CVS as of present, it
crashes at startup with an error at line 104 of windows2.py
(in wxPython, not boa). This is calling wxNotebook_AddPage()
with one argument, and it sure looks like it needs 3. IDK
what gives?

TIA for any ideas or assistance.

Al

Boa doesn't work any more with wxPython > 2.4.0.4

achrist@easystreet.com wrote:

···

I have installed 2.4.0.6 on Win NT (not unicode) for Python 2.2.
When I try to run Boa Constructor from CVS as of present, it
crashes at startup with an error at line 104 of windows2.py
(in wxPython, not boa). This is calling wxNotebook_AddPage()
with one argument, and it sure looks like it needs 3. IDK
what gives?

TIA for any ideas or assistance.

Al

achrist@easystreet.com wrote:

I have installed 2.4.0.6 on Win NT (not unicode) for Python 2.2. When I try to run Boa Constructor from CVS as of present, it
crashes at startup with an error at line 104 of windows2.py (in wxPython, not boa). This is calling wxNotebook_AddPage()
with one argument, and it sure looks like it needs 3. IDK
what gives?

Riaan is aware of this and should have a fix soon if not already. The issue was that I changed the names of the parameters to AddPage to match what is in the docs and since Boa was using the old names as keyword params then the error happens.

···

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

> I have installed 2.4.0.6 on Win NT (not unicode) for Python 2.2.
> When I try to run Boa Constructor from CVS as of present, it
> crashes at startup with an error at line 104 of windows2.py
> (in wxPython, not boa). This is calling wxNotebook_AddPage()
> with one argument, and it sure looks like it needs 3. IDK
> what gives?
>

Riaan is aware of this and should have a fix soon if not already.

Acutely aware :wink:

I checked in fixes for this issue and a script to upgrade your own
generated code to CVS last friday.

The
issue was that I changed the names of the parameters to AddPage to match
what is in the docs and since Boa was using the old names as keyword
params then the error happens.

Cheers,
Riaan.

···

----- Original Message -----
From: "Robin Dunn" <robin@alldunn.com>
To: <wxPython-users@lists.wxwindows.org>
Sent: Tuesday, March 18, 2003 3:37 PM
Subject: Re: [wxPython-users] 2.4.0.6 wxNotebook_AddPage() problem

achrist@easystreet.com wrote: