I thought the ending of Casablanca WAS a happy ending.
That's the problem. Do you kill off Claude Raines so Bogart can marry his wife? Probably if Hollywood did a remake they'd do something of the sort.