Hi..
is it possible to speed up the refresh for a dc?
my python code looks like this,
(created on a wxScrolledWindow:).
···
----------------
def onPaint(self, event):
self.doDraw(wxPaintDC(self))
def doDraw(self, dc):
self.dc.SetUserScale(self.scale, self.scale)
alot of this.....
self.dc.DrawPolygon(drawlist)
.....
---------------
when I change 'self.scale' or a color for an
object I have to make a Refresh().
With lot of drawing object, the update for the dc
take time.
Is there a way to speed up this refresh update
for the dc?
Or can I use another function instead of
Refresh()?
Tnx
S.Holmgren
____________________________________
Gratis epost med TJOHOO
http://www.tjohoo.se