George,

It's not the moisture from the tub that causes the problems, It's the hot bathroom, and the cooler bedroom that causes the dampness, and it can not only rust out a panel over time, it causes GFCI's to trip,
as A-Line noted.
An outdoor panel is not exposed to the same extreme conditions.