Comment 4 for bug 1318207

Revision history for this message
Andreas Metzler (k-launchpad-downhill-at-eu-org) wrote : Re: [Bug 1318207] Re: segfault on exit if built against wxwidgets3.0

On 2014-05-16 tmodes <email address hidden> wrote:
> Thanks for update. Could you please try if changeset 5e144ef0d7fb
> fixes the issue?
> (I have currently no Linux version of wxWidgets 3.0 running.)

Hello,

It fixes the crash with wx3.0, thank you. (I have tried tried
2014.0.0rc2 plus this changeset, which applies just with a little bit
of fuzz).

However it breaks building against wx2.8:
[ 54%] Building CXX object src/hugin1/hugin/CMakeFiles/hugin.dir/treelistctrl.cpp.o
/tmp/HUGIN/hugin-2014.0.0/src/hugin1/hugin/treelistctrl.cpp: In member function 'void wxTreeListMainWindow::OnChar(wxKeyEvent&)':
/tmp/HUGIN/hugin-2014.0.0/src/hugin1/hugin/treelistctrl.cpp:3998:48: error: 'WXK_NONE' was not declared in this scope
             int key = event.GetUnicodeKey() != WXK_NONE ? event.GetUnicodeKey() : event.GetKeyCode();
                                                ^
/tmp/HUGIN/hugin-2014.0.0/src/hugin1/hugin/treelistctrl.cpp:4003:36: error: 'wxUniChar' was not declared in this scope
                 m_findStr.Append ((wxUniChar)key);
                                    ^
src/hugin1/hugin/CMakeFiles/hugin.dir/build.make:1365: recipe for target 'src/hugin1/hugin/CMakeFiles/hugin.dir/treelistctrl.cpp.o' failed

cu Andreas

--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'