The new() method now deletes the contents of the main sizer.
Authored by: bugman 2011-06-15
Parent: [r13032]
Child: [r13034]