Also, this bit of OnUpdateUI does not look right:
m_delayedErrorMessage = wxEmptyString;
if( !m_delayedErrorMessage.IsEmpty() ) { // Do not use DisplayErrorMessage(); it screws up window order on Mac DisplayError( nullptr, msg ); }
I think the if-conditional should be looking at msg? Fix this doesn't fix the crash though.
Also, this bit of OnUpdateUI does not look right:
if( !m_delayedError Message. IsEmpty( ) ) sage(); it screws up window order on Mac
DisplayErr or( nullptr, msg );
{
// Do not use DisplayErrorMes
}
I think the if-conditional should be looking at msg? Fix this doesn't fix the crash though.