Seg fault on WPanel setCollapsible
I found a bug in
void WPanel::setCollapsible(bool on) that causes a seg fault (double free) in some situations (e.g. switching callapsible from
false followed by turning off the title bar). It affects both 4.0.0 and 4.0.1-rc1.
Please find attached the patch addressing the issue.