Tomasz Rybak wrote:
> I think I know what's causing this crash.
> However, I don't know where to fix it.
Things are quite easy after all.
That lengthy code in line 460ff is for some beautifying of "new xxx"
stuff in the context menu. If there's no object creatable, the "New
Object" menu will be disabled, and so newItem will receive 0 by design
(thus wxASSERT is wrong). In that case, most of the code can be skipped.
Fixed in svn, thanks for reporting.
Regards,
Andreas