No. As far as anyone can tell, the whistle isn't obtainable in the Western releases of Wild World — it appears in the Japanese version, and possibly on the GameCube original.
That's one of those regional oddities where content simply wasn't carried across in localisation. If the whistle is essential to something you're trying to do, you're out of luck on a European or American copy, and no amount of in-game progress will unlock it.