As I wrote, I tested it also in Scite, and Scite is build without wxWidgets.
And the behaviour is similar.
And what's more, I can reproduce the problem with much less than 64k chars.
Even with less than 4k chars.
Beginning with 3795 the caret is no longer placed after the char, but right in the middle of it cutting of the rest.
If I then press the left key the caret is not erased when jumping to the new char, so multiple black lines (I don't want to say caret to them) appear.
Here is a snapshot with multiple "carets" (the first one) and one that shows the behaviour after switching away from C::B and then back:
[attachment deleted by admin]