The reason is that there is a new version from recently. Since I installed CodeBlocks on Ubuntu a week ago, it was the latest version. But on Windows I have not noticed that there is a new release.
I will try the newest CodeBlocks on Windows and see what will happen.