On Sun, 25 Dec 2011 15:01:31 +0100, Vladimir Panteleev wrote:
> 
> I don't understand. Casting a void* to a class bypasses all static type
> checks. This is one of those cases where you "tell the compiler that you
> know what you're doing" - and if you try to call a method that wasn't in
> the original class's vtable, that's obviously not true.

Me neither, but it worked before somehow. Anyway, Mike Wey simply fixed 
gtkD on Christmas day, so now the derived object is handed out instead of 
the generic Widget.

Reply via email to