wx2.5
Bernhard Herzog
bh at intevation.de
Tue Feb 8 21:41:34 CET 2005
"Daniel Calvelo Aros" <dcalvelo at minag.gob.pe> writes:
>> 1) There's some refactoring needed for wxSizers when used as
>> separating space: under wx2.4, someSizer.Add( 20, 20, 0,...)
>> becomes someSizer.Add( (20,20), 0,...)
Back in December there was a thread[1] started by Yao Heling about wx
2.5 where I produced a number of patches for this which were then tested
by the OP. I've finally checked them in now.
>> 2) ditto for widget.GetFirstChild:
>> under 2.4, a second (dummy, AFAICT) argument had to be given; no
>> more so under 2.5
AFAICT from the wxPython sources, the second argument was intended to be
optinal there, but due to a bug it was necessary. Omitting it produces
a sefault.
> I attach the patch for the few changes made so far.
Applied most of this too. Much was already covered by the changes from
december, but there were quite a few places where spacers were not yet
updated.
The only changes not in CVS yet are the ones related to
SetItemSelectedImage. I haven't had time to look at what can be done
there to keep 2.4 compatibility.
Bernhard
[1] The thread starts here:
http://intevation.de/pipermail/thuban-devel/2004-December/000652.html
The threading is a bit broken, though.
--
Intevation GmbH http://intevation.de/
Skencil http://skencil.org/
Thuban http://thuban.intevation.org/
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)