title: Hide the "Failed to load" message when loading an invalid image, wxpython
body: <pre><code>bmp = wx.Image("C:\User\Desktop\cool.bmp", wx.BITMAP_TYPE_ANY).ConvertToBitmap()
  </code></pre>
  
  <p>If i run this, it will automatically show an error message saying that it failed to load the image. How can I stop my program from doing this?</p>