Issue #20633:use standard GUIErrorCheck routine