Aside from the obvious answer of them using C++ based upon "using something you know and that works", why shouldn't they have used C++? (Genuinely wanting to know/understand.)
It would seem like a monolithic task to rearchitecture the entire app versus just dropping the code-behind into a new UI wrapper, yeah? I'm not excusing it, to be sure, just explaining the potential ROI perspective they might've had when they stuck with C++.
[0] - https://en.wikipedia.org/wiki/Windows_Calculator#History
[1] - https://en.wikipedia.org/wiki/Windows_Calculator#Windows_10