Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
static const unsigned char image_png[] = ...; auto bitmap = wxBitmap::NewFromPNGData(image_png, WXSIZEOF(image_png));
bitmap.IsOk()false如果 wxWidgets 是使用内置版本的 libpng 构建的,则返回。否则它工作正常。有没有使用内置 libpng 的解决方案?
bitmap.IsOk()
false