WxBitmap
lastmod 2018-08-17created 2014-11-093 edits
This class encapsulates the concept of a platform-dependent bitmap, either monochrome or colour or colour with alpha channel support.
Load PNG
In this case, check in the wx/setup.h file that PNG and the like are enabled properly.
If the error message still appears, initialize with wxInitAllImageHandlers() as shown below.