[haiku-development] Re: Patch for trac #2099

  • From: SHINTA <shinta.0806@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 21 Apr 2008 21:36:59 +0900

 Thanks everybody.

> While Korli already applied the patch, it's not correct. You overwrite 
> the style that is given in the constructor; there is only one 
> constructor which does not initialize fStyle prior to the call to 
> _InitObject() (the unarchiving constructor).

 Thank you for modifying.

 I wonder... _InitObject(BMessage*) is called from only BBox(BMessage*),
so, initializing vars in _InitObject() and BBox() has save effect. Why
only fStyle is initialized in BBox() while fLabel and so on is
initialized in _InitObject()?


 Regards.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   SHINTA
     E-Mail shinta.0806@xxxxxxxxx
     Web    http://www2u.biglobe.ne.jp/~shinta/be/  (Japanese only)


Other related posts: