Add reset() to wx_ptr and allow it to be null.