WxImage to wxBitmap wxImage image; if (image.LoadFile(image_path)) { wxBitmap bitmap(image); // Use bitmap } See also wxBitmap Favorite site wxWiki wxImage guide Stackoverflow: wxWidgets + OpenCV: wxBitmap does not draw wxImage correctly