I have my own version of assertion boxes, as most people have.
Sometimes when I pop up a message box like that (using AlertWindow::showYesNoCancelBox) the whole program hangs.
It appears that often, or always, when I pop up one of these from within a Component::paint call there is some sort
of message/event jam and everything grinds to a halt.
Is there a known restriction that you should not open a AlertWindow::showYesNoCancelBox from within a Component::paint?
Is there a way to KNOW that we are inside a Component::paint so that I can skip the AlertWindow all together?