--On 25 August 2006 12:58 +0200 Thomas Zehbe <tz at ingenion.de> wrote: > Seems to be a complex implementation of a NULL pointer of type wxWindow*. > Did I miss something? Looks right to me. Note "IsTopLevel" is virtual. When your dtor is called, the window may already have been orphaned, and thus does not have a parent. Alex