If you describe someone as whistling in the wind, you mean that they are trying unsuccessfully to change something which cannot be changed.
The leader of the Liberal Democrats accused the Prime Minister of whistling in the wind to raise Conservative party morale.