I solved it. It IS possible to emulate that desirable behaviour of the
wxStaticBitmap. :) If you paint to the same place every time, the pixels are
not repainted unless they need to be. So I can make a huge bitmap sized panel
as child to the client-area-sized panel, and use Move() on the big one
John Labenski wrote:
(04/06/2009 05:00)
>I ran the code and I see that the EVT_PAINT handler is incessantly
>called when you scroll over and down a bit. I would guess that is
>because you have overlapping windows which is not supported by
>wxWidgets. Before you can make any headway you have to g
On Mon, Jun 1, 2009 at 6:11 PM, lostgallifreyan
wrote:
>
> I know, that's why I just sent the post I sent just before I found this one
> of yours. It contains full context so no further circles of guessing are
> needed. It's taking too much time to reduce to contextless samples so this is
> as
John Labenski wrote:
(01/06/2009 23:03)
>Please don't send 2.5 Mb messages to the list. There has to be a
>easier way to make it clear what your issues are.
>
There is. I cancelled that post and sent a variant just now that draws the
'chart' panel as a simple rectangle to avoid big files.
>Fi
On Mon, Jun 1, 2009 at 10:45 AM, lostgallifreyan
wrote:
>
>
> Thanks, that one's nice, no flicker of any kind. I'm having trouble
> integrating it into my main script but I'll post once I sort out the
> confusion. I guess there's no problem with two OnPaint() functions? So long
> as their names