FIX: ignore wxImage's waring in release build
Change-Id: I4f250fdb64c98edfa76d3f19c5b60096488e1d87
This commit is contained in:
parent
13ca93adc8
commit
1068baf10e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue