FIX: ignore wxImage's waring in release build

Change-Id: I4f250fdb64c98edfa76d3f19c5b60096488e1d87
This commit is contained in:
chunmao.guo authored and Lane.Wei committed 2022-12-15 04:33:48 -05:00
1 parent 13ca93adc8
commit 1068baf10e
1 file changed
+3
+3
View File
@@ -1985,6 +1985,9 @@ bool GUI_App::on_init_inner()
// Set initialization of image handlers before any UI actions - See GH issue #7469
wxInitAllImageHandlers();
#ifdef NDEBUG
wxImage::SetDefaultLoadFlags(0); // ignore waring in release build
#endif
#if defined(_WIN32) && ! defined(_WIN64)
// BBS: remove 32bit build prompt