I don’t have enough pages to test, but I have an idea that 10 is default pagination number.
$all_wp_pages = $my_wp_query->query(array(
'post_type' => 'page',
'posts_per_page' => -1
));
If this doesn’t work I will try to find some time to generate bunch of pages and test.