mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
FIX: ignore wxImage's waring in release build
Change-Id: I4f250fdb64c98edfa76d3f19c5b60096488e1d87
This commit is contained in:
parent
13ca93adc8
commit
1068baf10e
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue