1791 and still there.
If you go to View->Layouts and select it again (click NO if it asks to save the current layout), everything is back again.
Another thing I noticed is if you change the size of the Messages dock it won't be restored either, but when you re-select the current layout it'll be.
So it's a problem applying the layout when Code::Blocks starts.