In a configuration in which a display in display 10 is autonomously switched, when touch panel 20 detects proximity of a contact body, the display in display 10 is not switched after the detection of the proximity and detection of contact of the contact body in touch panel 20, until the contact is no longer detected.