add WG_COND_* constants to wgdb class