Issue #20633:use standard GUIErrorCheck routine
Merge pull request #50 from garyhgohoos/20633

Issue #20633:use standard GUIErrorCheck routine