[haiku-commits] Re: r38744 - haiku/trunk/src/apps/debugger/user_interface/gui/running_teams_window

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 20 Sep 2010 20:58:47 +0200

On 2010-09-20 at 18:21:12 [+0200], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
> philippe.houdoin@xxxxxxxxx wrote:
> >      : BWindow(BRect(100, 100, 500, 250), "Running Teams",
> > B_DOCUMENT_WINDOW,
> > -        B_ASYNCHRONOUS_CONTROLS)
> > +        B_NORMAL_WINDOW_FEEL, B_ASYNCHRONOUS_CONTROLS)
> 
> This looks broken, and I wonder why it compiles: B_DOCUMENT_WINDOW is a
> constant that combines look&feel constants;

I'd say it still uses the same constructor. B_NORMAL_WINDOW_FEEL is passed as 
flags and 
B_ASYNCHRONOUS_CONTROLS as workspace argument. The "blessings" of 
not-so-typesafe 
language...

CU, Ingo

Other related posts: