
4 Mar
2004
4 Mar
'04
4:25 p.m.
Russel wrote:
But this wouldn't catch at compile time me writing
label l = w.spawn("button");
True. You'll get a bad_cast exception. That's why you're encouraged to use the constructor form rather than using window.spawn directly. I might even decide to enforce that constraint by careful use of protected:. Regards David Turner