Can't Refresh ScrollBar's Parent during EVT_SCROLL

It looks OK for me with XP and wx-msw-unicode 2.6.1.0.

···

On Thu, 9 Mar 2006 14:43:53 -0500, "Lanier, Paul" <Paul.Lanier@analog.com> wrote:

I'm on Win XP with wxMSW 2.6.2.1.

I put together the simple code below to show a problem with scrollbars
that I encountered. If I call .Refresh() on the parent window of a
ScrollBar control or .Refresh() on the ScrollBar itself during
EVT_SCROLL, the ScrollBar does not redraw itself properly. The weird
part is that the scrollbar DOES redraw itself, just not correctly.

Just click on the right arrow of the scrollbar and hold it down to see
the problem.

Is this bug?

--
Tim Roberts, timr@probo.com
Providenza & Boekelheide, Inc.