wx2.5

Daniel Calvelo Aros dcalvelo at minag.gob.pe
Sat Jan 29 07:44:30 CET 2005


Sorry for following up my own posting, but I had forgotten two other points.

[I wrote]
> So far:
> 
> 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,...)
> 
> 2) ditto for widget.GetFirstChild:
>    under 2.4, a second (dummy, AFAICT) argument had to be given; no 
> more so under 2.5
> 
> 3) there is trouble with wxproj.cpp:
> 
> - point shapefiles load and display fine, can be manipulated,
>  classified, all ok
> 
> - polygon and line shapefiles produce a segfault in the 
> draw_plygon_shape function,  specifically when doing either dc-
> >SetBrush or dc->SetPen. I mean that changing   the calling order 
> segfaults in the first ocurrence of any.  Couldn't figure this out 
>  of the wx2.5 docs (they say the same for 2.4 and 2.5 for these 
> methods).

4) This is actually (thanks Jonathan) a problem with gdalwrap.cpp

> - raster loading segfaults in a mallopt in libc according to gdb.

5) There is a method resolution order exception in a class (see patch) that
inherits from both wxWindow and wxControl (the latter already inherits from
the former)

6) There is no SetItemSelectedImage method for wxTreeCtrl in 2.5; I commented
it out for now

I attach the patch for the few changes made so far.

-- Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wx2.5-so_far.patch
Type: application/octet-stream
Size: 7802 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20050129/87106f65/wx2.5-so_far.patch


More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)