Not sure how you would get a fungal medication into the lungs. Not sure they can be nebulized (they may, I've just never heard of it).
Both you and your vet have learned something, that may very well help another pig(s) down the road. That is not a poor legacy for Smokey to have.