Mirka, watching on from the stands, leapt up from her seat after Federer took his first Championship point.
The 37-year-old was far from at his best all match with plucky Marius Copil – the world No.93 – causing the Swiss plenty of problems.
The Romanian was a break up in both sets but he was found wanting at crucial moments.
A failed drop shot into the net in the first-set tie-break cost him dear as he fell to defeat in the breaker.
Copil was then broken in two games in a row in the second set as Federer eased through to win 7-6 6-4.
Victory was Federer’s 99th on the ATP tour. He now has the chance to make it 100 at the Paris Masters next week.
Mirka and Roger Federer have four children together – two sets of twins – but they were not in the stadium in Basel.
Roger broke down in tears at the end before paying a classy tribute to the fans.
“I’d like to say a few words to the people on the TV around the world,” he said.
“Thank you so much for supporting me this week, it’s been a magical week and I can’t thank you enough.
“It’s been a dream run for me so thank you for coming out.”
Victory ensured Federer won his first ATP singles title since early June. Only Jimmy Connors (109) has won more.
Federer was set to play in the Paris Masters next week but Sky Sports expert Barry Cowan thinks that is unlikely.
Commentator Barry Millns turned to Cowan and said after the final: “Well let’s hope we do see him on our screens over the next week in Paris.
“That decision is still to be made. He’s in the draw but he may decide to opt out and rest up before returning to the O2.”
But Cowan said: “I don’t think he will play.”
On the win over Copil, Cowan added: “It was very much a consistent performance in the second set.
“He was very aware his opponent was suffering but he kept plugging away.
“He won the match as he was physically stronger than his opponent.”
Source : EXPRESS