That seems reasonable explanation.
But I bet Windows uses that order because that order makes sense there. Where Cancel takes priority over OK. As if users changes something in Windows, then best option is to Cancel and clicking OK should not be clicked so easily. Because there, OK and Cancel can have big serious consequences. While in C3, it's just change variable, create project, insert object.
I bet they also have statistic, that shows when users goes to change something in Windows, they Cancel more often then Confirm it.
While in C3, clicking Cancel is opposite effect, you loose all inserted math/values and Browsers offers UNDO / REDO if you even overwrite your stuff, so it makes no sense to protect users for clicking OK. While you cannot redo your stuff which you inserted into some dialog.