Something along these lines should work:
$myposts = new WP_Query( array(
'post_type' => 'widgets',
'post__not_in' => array($wp_query->post->ID),
'tax_query' => array(
array(
'taxonomy' => 'genre',
'field' => 'slug',
'terms' => array( 'styleA', 'styleB' )
)
)
) );
I’m not sure if you need to add 'relation' => 'OR',
after line 4, so try it with/without that (i.e. before the 'tax_query'...
line).