use HGDIOBJ_VALID instead of checking type manually -- from e4245e4b
use HGDIOBJ_VALID instead of checking type manually -- from e4245e4b

tappleby/hush-vst,tappleby/hush-vst,tappleby/hush-vst,tappleby/hush-vst,tappleby/hush-vst