This is a deja vu ~ common problem.
There is a way of preventing the corruption of the wxDockIt layout?
It seems to me that the .cb_layout.bin gets corrupted when exiting C::B (and C::B crashed) while the layout was saving to disk.
Can something like this be done?:
Exit()
{
bool saved_ok = wxDockItSaveFile(".cb_layout.bin.temp");
if(saved_ok)
OperatingSystemMoveFile(".cb_layout.bin.temp", ".cb_layout.bin");
else
Print("Something gone wrong, so better we don't replace the previous .cb_layout.bin");
}
(http://www.cineclub.de/images/2005/07/madagascar-1.jpg)
You didn't see anything!