[Therion] wxWidgets 3.0.0
Olly Betts
olly at survex.com
Fri Nov 15 15:14:23 CET 2013
I've been fighting to get loch to work with wxWidgets 3.0.0. The first
obstacle is that they now enable __WXDEBUG__ mode by default, so misuses
of the API result in warning dialogs popping up.
I've attached a patch which fixes that, and updates a couple of places
where deprecated methods are used.
This doesn't get you a fully working loch though - starting loch and
loading a file seems to work OK, *if* loch was compiled with
optimisation. Starting loch with a file specified on the command
line segfaults in the first call to gluScaleImage() in lxData.cxx,
though it works when run under gdb or valgrind, so I guess there is
a subtle timing issue (and that this might not happen on all machines).
There are also more uses of deprecated methods, most notably using an
implicit wxGLContext is now deprecated. I tried to update that one, but
things seemed to crash a lot - I suspect the underlying problem noted
above needs addressing first.
I've been testing on Debian unstable (which has packages of wx 3.0.0).
Cheers,
Olly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wx3.0-compat.patch
Type: text/x-diff
Size: 3167 bytes
Desc: not available
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20131115/cdad8940/attachment.patch>
More information about the Therion
mailing list