Hide wx warning <img> unless needed