Don't cast WId (platform-dependent type)