Disable sizer asserts in release
This commit is contained in:
parent
9ed2458f00
commit
992ed34365
|
@ -159,6 +159,10 @@ struct APP_SINGLE_TOP : public wxApp
|
|||
|
||||
bool OnInit() override
|
||||
{
|
||||
#ifdef NDEBUG
|
||||
// These checks generate extra assert noise
|
||||
wxSizerFlags::DisableConsistencyChecks();
|
||||
#endif
|
||||
wxDISABLE_DEBUG_SUPPORT();
|
||||
wxSetAssertHandler( CustomAssertHandler );
|
||||
|
||||
|
|
|
@ -431,6 +431,10 @@ struct APP_KICAD : public wxApp
|
|||
|
||||
bool OnInit() override
|
||||
{
|
||||
#ifdef NDEBUG
|
||||
// These checks generate extra assert noise
|
||||
wxSizerFlags::DisableConsistencyChecks();
|
||||
#endif
|
||||
wxDISABLE_DEBUG_SUPPORT();
|
||||
wxSetAssertHandler( CustomAssertHandler );
|
||||
|
||||
|
|
Loading…
Reference in New Issue