Well, it's likely to happen to all us eventually. Poor little thing.
Could you get a urine sample for the vet to check. Could be an infection?
If it is longer term incontinence, could you use those absorbent bed liners that humans use. They just hold enough wee to stop it soaking through to the bed, so you could put it on top of your bed where she sleeps, they're not huge things, maybe a metre square.
Not a lovely thing for you to wake up to though, but otherwise it would have to be a dog cage next to the bed, and she won't like that