wx2.5
Daniel Calvelo Aros
dcalvelo at minag.gob.pe
Fri Jan 28 23:12:22 CET 2005
Hi all,
I'm trying porting thuban to wxwidgets2.5. For now, under Debian x86 unstable (and current).
I haven't built postgis support and aren't dealing with extension by now. This is CVS from two
days ago, taken from the cvsweb interface. I'm not using explicitly wxversion.
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
Those are encouraging, but:
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).
- raster loading segfaults in a mallopt in libc according to gdb.
All tests pass, except for the shape loading segfaults.
Any hints/clues?
-- Daniel Calvelo Aros
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)