By the way, there is a macro based smart pointer class in wx 2.8, butthat sounds like quite a bit more trouble than it's worth.
-- Regards,Peter Geoghegan