After saving the perspective (View -> Perspectives -> Save current) all toolbars' images disssapear, and you need to use Fit, Optimize or restart C::B to get them back.
This is due to a call to m_LayoutManager.Update() from a wrong point (the sizes are not set).
My setup is Windows 7, wx3.1.2 and C::B head, but I doubt this is relevant here,
This patch doesn't solve the problem on wxGTK...
Ok, it seems that it fixes it, I've failed to test this correctly. Thanks...
Unfortunately the fix for this broke the case which the orignal code tried to fix. We want to reset the stored size in the perspective, because if the toolbar is stored larger for some reason (the user selected bigger icon size for example) it can never be shrinked to fit the new size. :(
Fixed in [r11866]
Related
Commit: [r11866]