Opened 17 years ago
Closed 17 years ago
Last modified 17 years ago
BBox doesn't archive/unarchive its style. I archived/flattend a BBox, and unarchived it, BBox lost style.
Haiku: near hrev25042 SHINTA
It's simply caused by forgetting to initialize fStyle because "_style" property isn't archived if style is B_FANCY_BORDER.
Therefore, BBox works well by modifying as follows:
void BBox::_InitObject(BMessage* archive) { fBounds = Bounds(); fStyle = B_FANCY_BORDER; ...(snip)... }
Applied in hrev25082. Thanks!
Thank you!
It's simply caused by forgetting to initialize fStyle because "_style" property isn't archived if style is B_FANCY_BORDER.
Therefore, BBox works well by modifying as follows:
void BBox::_InitObject(BMessage* archive) { fBounds = Bounds(); fStyle = B_FANCY_BORDER; ...(snip)... }