Re: Problem in the text-only viewer
Xavier Nodet <xavier.nodet <at> free.fr>
2003-01-07 13:14:08 GMT
On Tue, 7 Jan 2003 00:17:54 +0100 (Romance Standard Time) Vadim Zeitlin
<zeitlin <at> dptmaths.ens-cachan.fr> wrote:
> It would indeed be interesting to know what happens when you update to
> wxMSW 2.4.0 as I don't see that bug -- but I do see the other one.
I updated to very latest CVS of wxWindows, and there are no real bugs
anymore: I have the scrollbar, and the viewer is correctly at the top of
the message to start with.
But now I have an annoying flicker. It happens when line 1448 of
MessageView.cpp is executed (a new header has been appended, and we must
'end' it). At this point, the window has been both cleared and frozen.
It also happens on other occasions (I guess when a header line is longer
than the width of the window, and must be wrapped).
BTW, when a text viewer is cleared (before being frozen), the text does
not disappear from the screen, even if Freeze was not called yet: only
the scroll bar disappears. Maybe this is related to my problem.
When this particular line is called, the display is actually changed
(although Freeze was called): the second line of the display (which
still has the previous message) is duplicated. This scrolls the rest of
When the window is Thawed, everything returns to normal. But this
scrolling produces noticeable flicker.