Does "wave" mean the same thing in these two sentences?

She asked the hairdresser to wave her hair.

She waved her gun.
different meanings