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