Added CC_ERROR_WINDOWDESTRUCTION