Open GoogleCodeExporter opened 9 years ago
I get a segfault when running sample.pyw. I hadn't noticed it in my own program
until I tried adding a menubar. The first few frames of the backtrace are:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libwx_osx_cocoau-2.9.4.0.0.dylib 0x0000000110e1662a
wxWindow::SetDropTarget(wxDropTarget*) + 58
1 _core_.so 0x00000001109f533e
_wrap_Window_SetDropTarget + 222
2 org.python.python 0x000000010fffaf72 PyEval_EvalFrameEx + 3557
3 org.python.python 0x000000010fffa147 PyEval_EvalCodeEx + 1934
4 org.python.python 0x00000001100008df 0x10ffe3000 + 121055
This is with '2.9.4.0 osx-cocoa (classic)' and momerath:gui2py-0.9.3 on Mac OS
X 10.8.5.
Original comment by crows...@gmail.com
on 11 Oct 2013 at 12:20
The problem was in component.py: it was passing None to
self.wx_obj.SetDropTarget. Maybe a bug in wx? I'm using version 2.9.4, which
isn't the latest. I patched component.py to check if dt was None before calling
SetDropTarget and menus now work.
Original comment by crows...@gmail.com
on 17 Oct 2013 at 1:37
Original issue reported on code.google.com by
martin.g...@astc-design.com
on 28 Sep 2013 at 12:32