Not creating it when the default image wasn't found resulted in a crash, so always create wxStaticBitmap using a fallback bitmap if necessary. Also add a wxCHECK_RET to prevent the crash from happening in a similar situation in the future.
5.8 KiB
5.8 KiB