change wx object